bug fixes
This commit is contained in:
parent
8e2864c0cf
commit
644a9ad852
@ -785,6 +785,10 @@ static void kill_children(LogUpdIndex *c, PredEntry *ap) {
|
|||||||
ncl = c->ChildIndex;
|
ncl = c->ChildIndex;
|
||||||
/* kill children */
|
/* kill children */
|
||||||
while (ncl) {
|
while (ncl) {
|
||||||
|
if (ncl->ClRefCount>0) {
|
||||||
|
c->ClRefCount--;
|
||||||
|
}return;
|
||||||
|
}
|
||||||
kill_first_log_iblock(ncl, c, ap);
|
kill_first_log_iblock(ncl, c, ap);
|
||||||
ncl = c->ChildIndex;
|
ncl = c->ChildIndex;
|
||||||
}
|
}
|
||||||
@ -860,7 +864,7 @@ static void kill_first_log_iblock(LogUpdIndex *c, LogUpdIndex *parent,
|
|||||||
if (DBErasedIList)
|
if (DBErasedIList)
|
||||||
DBErasedIList->PrevSiblingIndex = c;
|
DBErasedIList->PrevSiblingIndex = c;
|
||||||
DBErasedIList = c;
|
DBErasedIList = c;
|
||||||
if (!((c->ClFlags & InUseMask) || c->ClRefCount)) {
|
if (!(c->ClFlags & InUseMask || c->ClRefCount)) {
|
||||||
kill_off_lu_block(c, parent, ap);
|
kill_off_lu_block(c, parent, ap);
|
||||||
} else {
|
} else {
|
||||||
if (c->ClFlags & ErasedMask)
|
if (c->ClFlags & ErasedMask)
|
||||||
|
Reference in New Issue
Block a user