Fix bug with singlex child in db-benchmark-test

git-svn-id: file:///svn/toku/tokudb@13678 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Yoni Fogel 2013-04-16 23:57:57 -04:00
parent 3e9fcd103b
commit 9219a87646

View file

@ -219,6 +219,7 @@ static void benchmark_shutdown (void) {
tid = NULL;
}
if (singlex_child) {
tid = NULL;
assert(parenttid);
r = (do_abort ? parenttid->abort(parenttid) : parenttid->commit(parenttid, 0)); assert(r==0);
parenttid = NULL;