diff options
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/Column.java')
-rw-r--r-- | src/java/com/healthmarketscience/jackcess/Column.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/Column.java b/src/java/com/healthmarketscience/jackcess/Column.java index 437250e..1d45d02 100644 --- a/src/java/com/healthmarketscience/jackcess/Column.java +++ b/src/java/com/healthmarketscience/jackcess/Column.java @@ -340,7 +340,7 @@ public class Column implements Comparable<Column> { } if(!isVariableLength()) { - if(getLength() != getType().getFixedSize()) { + if(getLength() < getType().getFixedSize()) { throw new IllegalArgumentException("invalid fixed length size"); } } else if(!getType().isLongValue()) { |