2001-02-23 21:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2001-02-23 21:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* harbour/source/rdd/dbfntx/dbfntx1.c
|
||||
* bug fixed, reported by Maurilio Longo
|
||||
|
||||
2001-02-23 21:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* harbour/source/rdd/dbfntx/dbfntx1.c
|
||||
* building of indexes optimized
|
||||
|
||||
@@ -766,6 +766,10 @@ static void hb_ntxPageSave( LPPAGEINFO pPage )
|
||||
i * ( pPage->TagParent->KeyLength + 8 );
|
||||
item=(NTXITEM *)(buffer+itemlist->item_offset[i]);
|
||||
item->page = pKey[i].Tag;
|
||||
i++;
|
||||
for( ; i < pPage->TagParent->MaxKeys + 1; i++ )
|
||||
itemlist->item_offset[i] = 2 + 2 * ( pPage->TagParent->MaxKeys + 1 ) +
|
||||
i * ( pPage->TagParent->KeyLength + 8 );
|
||||
hb_fsSeek( pPage->TagParent->Owner->DiskFile, pPage->Page, FS_SET );
|
||||
hb_fsWrite( pPage->TagParent->Owner->DiskFile, (BYTE *) buffer, NTXBLOCKSIZE );
|
||||
pPage->Changed = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user