]> source.dussan.org Git - jackcess.git/commitdiff
Fix issue with reading Access 97 database with large number of fields
authorJames Ahlborn <jtahlborn@yahoo.com>
Wed, 19 Oct 2011 00:37:08 +0000 (00:37 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Wed, 19 Oct 2011 00:37:08 +0000 (00:37 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@575 f203690c-595d-4dc9-a70b-905162fa7fd2

src/changes/changes.xml
src/java/com/healthmarketscience/jackcess/Table.java

index 2b86a16ffef297887bf23b81c7021cfce535985f..0865037d0556cfd2903c3c05c00a8790221f804e 100644 (file)
@@ -22,6 +22,9 @@
         Add Database.getSystemTableNames to enable retrieving the list of
         system/hidden tables.
       </action>
+      <action dev="jahlborn" type="fix">
+        Fix issue with reading Access 97 database with large number of fields.
+      </action>
     </release>
     <release version="1.2.4" date="2011-05-14">
       <action dev="jahlborn" type="update">
index f5e07c04226ca41627c73d12f0005f4f0a48194b..30a48c780894be4048aa95a3879c2b68e29388dc 100644 (file)
@@ -759,7 +759,7 @@ public class Table
     int jumpsUsed = 0;
     for(int i = 0; i < numVarCols + 1; i++) {
 
-      if((jumpsUsed < numJumps) && 
+      while((jumpsUsed < numJumps) && 
          (i == ByteUtil.getUnsignedByte(
               rowBuffer, rowEnd - nullMaskSize-jumpsUsed - 1))) {
         jumpsUsed++;