mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 12:03:02 +01:00
const.
This commit is contained in:
parent
5978d617cc
commit
795a70df00
@ -2493,12 +2493,12 @@ static CONTENTS delete_node(thread_db* tdbb, WIN *window, UCHAR *pointer)
|
|||||||
// Read node that need to be removed
|
// Read node that need to be removed
|
||||||
IndexNode removingNode;
|
IndexNode removingNode;
|
||||||
UCHAR* localPointer = BTreeNode::readNode(&removingNode, pointer, flags, leafPage);
|
UCHAR* localPointer = BTreeNode::readNode(&removingNode, pointer, flags, leafPage);
|
||||||
USHORT offsetDeletePoint = (pointer - (UCHAR*)page);
|
const USHORT offsetDeletePoint = (pointer - (UCHAR*)page);
|
||||||
|
|
||||||
// Read the next node after the removing node
|
// Read the next node after the removing node
|
||||||
IndexNode nextNode;
|
IndexNode nextNode;
|
||||||
localPointer = BTreeNode::readNode(&nextNode, localPointer, flags, leafPage);
|
localPointer = BTreeNode::readNode(&nextNode, localPointer, flags, leafPage);
|
||||||
USHORT offsetNextPoint = (localPointer - (UCHAR*)page);
|
const USHORT offsetNextPoint = (localPointer - (UCHAR*)page);
|
||||||
|
|
||||||
// Save data in tempKey so we can rebuild from it
|
// Save data in tempKey so we can rebuild from it
|
||||||
USHORT newNextPrefix = nextNode.prefix;
|
USHORT newNextPrefix = nextNode.prefix;
|
||||||
|
Loading…
Reference in New Issue
Block a user