2001-02-23 21:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>

This commit is contained in:
Alexander S.Kresin
2001-02-23 19:17:48 +00:00
parent 80e9ba992d
commit c295f6fa6c
2 changed files with 8 additions and 0 deletions

View File

@@ -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

View File

@@ -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;