Commit d486ef9b authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Make the isolation test not run under bdb (where it is broken)

git-svn-id: file:///svn/toku/tokudb@16606 c7de825b-a66e-492c-adef-691d508d4ae1
parent 995e72c4
......@@ -124,6 +124,7 @@ BDB_DONTRUN_TESTS = \
recover-delboth-checkpoint \
recover-delboth-after-checkpoint \
filesize \
isolation \
#\ ends prev line
# checkpoint tests depend on this header file,
......
......@@ -34,15 +34,15 @@ int test_main (int argc, char *argv[]) {
// X writes a value, and B tries to read it in uncommitted
{
DB_TXN *txnb;
r = env->txn_begin(env, txna, &txnb, DB_READ_UNCOMMITTED); CKERR(r);
// DB_TXN *txnb;
// r = env->txn_begin(env, txna, &txnb, DB_READ_UNCOMMITTED); CKERR(r);
{
DBT key,val;
r = db->put(db, txnx, dbt_init(&key, "x", 4), dbt_init(&val, "x", 4), 0); CKERR(r);
dbt_init_malloc(&val);
r = db->get(db, txnb, dbt_init(&key, "x", 4), &val, 0); CKERR(r);
r = db->get(db, txna, dbt_init(&key, "x", 4), &val, 0); CKERR(r);
}
r = txnb->commit(txnb, 0); CKERR(r);
// r = txnb->commit(txnb, 0); CKERR(r);
}
r = txna->commit(txna, 0); CKERR(r);
r = txnx->commit(txnx, 0); CKERR(r);
......
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