]> source.dussan.org Git - jackcess.git/commitdiff
add support for writing all the fixed types into variable length fields (fixes #3181334)
authorJames Ahlborn <jtahlborn@yahoo.com>
Tue, 15 Feb 2011 03:32:48 +0000 (03:32 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Tue, 15 Feb 2011 03:32:48 +0000 (03:32 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@511 f203690c-595d-4dc9-a70b-905162fa7fd2

src/java/com/healthmarketscience/jackcess/Column.java

index 0593a4b77137a698619aeeb25d3822c5b6d21178..4c164adbbd1d3b7f21ab374754d61ffdb5846c5f 100644 (file)
@@ -1079,7 +1079,7 @@ public class Column implements Comparable<Column> {
       return ByteBuffer.wrap(((RawData)obj).getBytes());
     }
 
-    if(!isVariableLength()) {
+    if(!isVariableLength() || !getType().isVariableLength()) {
       return writeFixedLengthField(obj, order);
     }