mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 07:23:03 +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
|
||||
IndexNode removingNode;
|
||||
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
|
||||
IndexNode nextNode;
|
||||
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
|
||||
USHORT newNextPrefix = nextNode.prefix;
|
||||
|
Loading…
Reference in New Issue
Block a user