Commit b334a552 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3067], add another case brought up in test plan review

git-svn-id: file:///svn/toku/tokudb@26328 c7de825b-a66e-492c-adef-691d508d4ae1
parent 58624828
......@@ -32,6 +32,9 @@ int test_main (int argc, char * const argv[]) {
r = env->txn_begin(env, NULL, &txnb, DB_TXN_SNAPSHOT); CKERR(r);
r = env->txn_begin(env, NULL, &txnc, DB_READ_COMMITTED); CKERR(r);
r = db->cursor(db, txna, &c, 0); CKERR(r);
r = c->c_close(c); CKERR(r);
c = NULL;
r = txna->commit(txna, 0); CKERR(r);
r = db->cursor(db, txnb, &c, 0); assert(r == TOKUDB_MVCC_DICTIONARY_TOO_NEW);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment