From d091aa6e333ff9240d5ce2a309ede6b616c93795 Mon Sep 17 00:00:00 2001 From: Dave Wells <wells@tokutek.com> Date: Wed, 1 Dec 2010 22:17:41 +0000 Subject: [PATCH] better comments git-svn-id: file:///svn/toku/tokudb@26095 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/tests/hotindexer-lock-test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tests/hotindexer-lock-test.c b/src/tests/hotindexer-lock-test.c index a7398807c5a..14809bb0dbc 100644 --- a/src/tests/hotindexer-lock-test.c +++ b/src/tests/hotindexer-lock-test.c @@ -122,7 +122,8 @@ static void run_test(void) run_indexer(src_db, dbs); - // at this point the hot dictionary should have locks on the rows + // at this point the hot dictionary should have locks on the rows since the transaction + // that created the src dictionary is still open // try overwriting a value in hot dictionary[0] { @@ -142,7 +143,8 @@ static void run_test(void) } // close the transaction (releasing locks), and try writing again - r = txn->commit(txn, DB_TXN_SYNC); CKERR(r); + r = txn->commit(txn, DB_TXN_SYNC); + CKERR(r); { DB_TXN *owrt_txn; r = env->txn_begin(env, NULL, &owrt_txn, 0); -- 2.30.9