From 9219a87646835f3470465c095fe985fb33d3a995 Mon Sep 17 00:00:00 2001 From: Yoni Fogel Date: Tue, 16 Apr 2013 23:57:57 -0400 Subject: [PATCH] Fix bug with singlex child in db-benchmark-test git-svn-id: file:///svn/toku/tokudb@13678 c7de825b-a66e-492c-adef-691d508d4ae1 --- db-benchmark-test/db-benchmark-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/db-benchmark-test/db-benchmark-test.c b/db-benchmark-test/db-benchmark-test.c index 1e4861497d8..6cfc2ea6f86 100644 --- a/db-benchmark-test/db-benchmark-test.c +++ b/db-benchmark-test/db-benchmark-test.c @@ -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;