2001-03-30 14:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>

This commit is contained in:
Alexander S.Kresin
2001-03-30 10:07:28 +00:00
parent d8165bb195
commit a973ffb448
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2001-03-30 14:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
* source/rdd/dbfntx/dbfntx1.c
! fixed the bug, reported by John M. S. Chiang, which appeared while
indexing files with a big record length
2001-03-30 13:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
* source/rdd/dbfntx/dbfntx1.c
* include/hbrddntx.h

View File

@@ -1552,7 +1552,8 @@ static void hb_ntxReadBuf( NTXAREAP pArea, BYTE* readBuffer, USHORT* numRecinBuf
if( *numRecinBuf == 10 )
*numRecinBuf = 0;
if( *numRecinBuf == 0 )
hb_fsRead( pArea->hDataFile, readBuffer, pArea->uiRecordLen * 10 );
hb_fsReadLarge( pArea->hDataFile, readBuffer, pArea->uiRecordLen * 10 );
pArea->pRecord = readBuffer + (*numRecinBuf) * pArea->uiRecordLen;
(*numRecinBuf) ++;
}