]> source.dussan.org Git - jackcess.git/commitdiff
default to true for new entries
authorJames Ahlborn <jtahlborn@yahoo.com>
Fri, 29 Feb 2008 20:10:26 +0000 (20:10 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Fri, 29 Feb 2008 20:10:26 +0000 (20:10 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@243 f203690c-595d-4dc9-a70b-905162fa7fd2

src/java/com/healthmarketscience/jackcess/Index.java

index 8e8e0883da5b4623659b504d3e6ca943722cac80..4d4d89adb6ebf651df88488573c85e58281f88a4 100644 (file)
@@ -1328,7 +1328,7 @@ public class Index implements Comparable<Index> {
       /** extra column bytes */
       private byte[] _extraBytes;
       /** whether or not the trailing bytes were found */
-      private boolean _hasTrailingBytes;
+      private boolean _hasTrailingBytes = true;
     
       private TextEntryColumn(Column col) throws IOException {
         super(col);
@@ -1370,7 +1370,6 @@ public class Index implements Comparable<Index> {
         if ((flag != (byte) 0) && (flag != (byte)0xFF)) {
 
           int endPos = buffer.position();
-          _hasTrailingBytes = true;
           while(buffer.get(endPos) != (byte) 1) {
             if(endPos == maxPos) {
               _hasTrailingBytes = false;