2001-03-30 14:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) ++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user