8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Fix index bug when a single NULL with recordnumber 0 was 2 times removed.

Due this the LevelNode was removed, which of course may never happen.
This commit is contained in:
arnobrinkman 2005-01-03 19:24:48 +00:00
parent 2ed683e90e
commit eddac3c767

View File

@ -5901,7 +5901,9 @@ static CONTENTS remove_leaf_node(thread_db* tdbb, index_insertion* insertion, WI
while (true) {
// if we find the right one, quit
if (insertion->iib_number == node.recordNumber && !node.isEndBucket) {
if (insertion->iib_number == node.recordNumber &&
!node.isEndBucket && !node.isEndLevel)
{
break;
}