Make sure it isn't part of a transaction upon destruction.
This commit is contained in:
@@ -577,6 +577,8 @@ BPlusTree::~BPlusTree()
|
|||||||
iterator.Next()->Stop();
|
iterator.Next()->Stop();
|
||||||
|
|
||||||
mutex_destroy(&fIteratorLock);
|
mutex_destroy(&fIteratorLock);
|
||||||
|
|
||||||
|
ASSERT(!fInTransaction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user