Просмотр исходного кода

Fix issue with reading Access 97 database with large number of fields

git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@575 f203690c-595d-4dc9-a70b-905162fa7fd2
tags/jackcess-1.2.6
James Ahlborn 12 лет назад
Родитель
Сommit
1eda5c96a8
2 измененных файлов: 4 добавлений и 1 удалений
  1. 3
    0
      src/changes/changes.xml
  2. 1
    1
      src/java/com/healthmarketscience/jackcess/Table.java

+ 3
- 0
src/changes/changes.xml Просмотреть файл

Add Database.getSystemTableNames to enable retrieving the list of Add Database.getSystemTableNames to enable retrieving the list of
system/hidden tables. system/hidden tables.
</action> </action>
<action dev="jahlborn" type="fix">
Fix issue with reading Access 97 database with large number of fields.
</action>
</release> </release>
<release version="1.2.4" date="2011-05-14"> <release version="1.2.4" date="2011-05-14">
<action dev="jahlborn" type="update"> <action dev="jahlborn" type="update">

+ 1
- 1
src/java/com/healthmarketscience/jackcess/Table.java Просмотреть файл

int jumpsUsed = 0; int jumpsUsed = 0;
for(int i = 0; i < numVarCols + 1; i++) { for(int i = 0; i < numVarCols + 1; i++) {


if((jumpsUsed < numJumps) &&
while((jumpsUsed < numJumps) &&
(i == ByteUtil.getUnsignedByte( (i == ByteUtil.getUnsignedByte(
rowBuffer, rowEnd - nullMaskSize-jumpsUsed - 1))) { rowBuffer, rowEnd - nullMaskSize-jumpsUsed - 1))) {
jumpsUsed++; jumpsUsed++;

Загрузка…
Отмена
Сохранить