2003-10-24 11:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2003-10-24 11:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* source/rdd/dbfntx/dbfntx1.c
|
||||
! Minor fix for calculating the maximum keys number in index page.
|
||||
Some 3rd party engines ( Crystal Reports ) had problems opening
|
||||
ntx'es, created by Harbour.
|
||||
|
||||
2003-10-23 15:40 UTC+0100 Ryszard Glab <rglab@przesiew.imid.med.pl>
|
||||
* source/compiler/harbour.l
|
||||
* fixed codeblock scanning - this should cure random GPFs
|
||||
|
||||
@@ -2710,7 +2710,7 @@ static LPTAGINFO hb_ntxTagNew( LPNTXINDEX PIF, char * ITN, BOOL fTagName, char *
|
||||
pTag->KeyType = bKeyType;
|
||||
pTag->KeyLength = uiKeyLen;
|
||||
pTag->KeyDec = uiKeyDec;
|
||||
pTag->MaxKeys = (NTXBLOCKSIZE-6)/(uiKeyLen+10) - 1;
|
||||
pTag->MaxKeys = (NTXBLOCKSIZE-3)/(uiKeyLen+10) - 1;
|
||||
if( pTag->MaxKeys%2 && pTag->MaxKeys>2 )
|
||||
pTag->MaxKeys--;
|
||||
pTag->CurKeyInfo = hb_ntxKeyNew( NULL,pTag->KeyLength );
|
||||
|
||||
Reference in New Issue
Block a user