8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 14:03:07 +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());
return values.getCount();
}
size_t getCapacity() const
{
return values.getCapacity();
@ -618,11 +619,11 @@ namespace Firebird
values.clear();
}
PointersArray& operator=(const PointersArray& L)
PointersArray& operator=(const PointersArray& o)
{
values = L.values;
pointers = L.pointers;
checkPointers(L.values.begin());
values = o.values;
pointers = o.pointers;
checkPointers(o.values.begin());
return *this;
}

View File

@ -2926,7 +2926,7 @@ static CONTENTS delete_node(thread_db* tdbb, WIN *window, UCHAR *pointer)
IndexJumpInfo 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
// by its definition is a good upper estimate for summary size of all existing
// jump nodes data length's.