diff options
-rw-r--r-- | src/changes/changes.xml | 3 | ||||
-rw-r--r-- | src/java/com/healthmarketscience/jackcess/Table.java | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 2b86a16..0865037 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -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"> diff --git a/src/java/com/healthmarketscience/jackcess/Table.java b/src/java/com/healthmarketscience/jackcess/Table.java index f5e07c0..30a48c7 100644 --- a/src/java/com/healthmarketscience/jackcess/Table.java +++ b/src/java/com/healthmarketscience/jackcess/Table.java @@ -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++; |