8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00
This commit is contained in:
asfernandes 2009-02-11 01:32:09 +00:00
parent 1bb0e9db9b
commit 7ba3e7d0e5
5 changed files with 14 additions and 13 deletions

View File

@ -607,6 +607,7 @@ namespace Firebird
fb_assert(values.getCount() == pointers.getCount()); fb_assert(values.getCount() == pointers.getCount());
return values.getCount(); return values.getCount();
} }
size_t getCapacity() const size_t getCapacity() const
{ {
return values.getCapacity(); return values.getCapacity();
@ -618,11 +619,11 @@ namespace Firebird
values.clear(); values.clear();
} }
PointersArray& operator=(const PointersArray& L) PointersArray& operator=(const PointersArray& o)
{ {
values = L.values; values = o.values;
pointers = L.pointers; pointers = o.pointers;
checkPointers(L.values.begin()); checkPointers(o.values.begin());
return *this; return *this;
} }

View File

@ -2926,7 +2926,7 @@ static CONTENTS delete_node(thread_db* tdbb, WIN *window, UCHAR *pointer)
IndexJumpInfo jumpInfo; IndexJumpInfo jumpInfo;
pointer = BTreeNode::getPointerFirstNode(page, &jumpInfo); pointer = BTreeNode::getPointerFirstNode(page, &jumpInfo);
// We going to rebuild jump nodes. In the end of this process we will either have // We are going to rebuild jump nodes. In the end of this process we will either have
// the same jump nodes as before or one jump node less. jumpInfo.firstNodeOffset // the same jump nodes as before or one jump node less. jumpInfo.firstNodeOffset
// by its definition is a good upper estimate for summary size of all existing // by its definition is a good upper estimate for summary size of all existing
// jump nodes data length's. // jump nodes data length's.