2005-01-22 23:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2005-01-22 23:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* source/rdd/dbfntx/dbfntx1.c
|
||||
! Yet another rare bug fixed.
|
||||
|
||||
2005-01-22 19:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* source/rdd/dbfntx/dbfntx1.c
|
||||
! Bug fixed, which oocured in some rare situations while record updating.
|
||||
|
||||
@@ -1602,7 +1602,7 @@ static void hb_ntxTagBalance( LPTAGINFO pTag, int level )
|
||||
else
|
||||
{
|
||||
pPagePair = hb_ntxPageLoad( pTag, KEYITEM( pPageParent, pairkey )->page );
|
||||
if( pPageParent->uiKeys == 1 &&
|
||||
if( pPageParent->uiKeys == 1 && pPage->uiKeys && pPagePair->uiKeys &&
|
||||
( pPage->uiKeys + pPagePair->uiKeys ) > pTag->MaxKeys - 2 )
|
||||
{
|
||||
hb_ntxPageRelease( pTag,pPageParent );
|
||||
@@ -1633,7 +1633,7 @@ static void hb_ntxTagBalance( LPTAGINFO pTag, int level )
|
||||
else
|
||||
{
|
||||
pPagePair = hb_ntxPageLoad( pTag, KEYITEM( pPageParent, pairkey )->page );
|
||||
if( pPageParent->uiKeys == 1 &&
|
||||
if( pPageParent->uiKeys == 1 && pPage->uiKeys && pPagePair->uiKeys &&
|
||||
( pPage->uiKeys + pPagePair->uiKeys ) > pTag->MaxKeys - 2 )
|
||||
{
|
||||
hb_ntxPageRelease( pTag,pPageParent );
|
||||
|
||||
Reference in New Issue
Block a user