Commit 282a76a7 authored by Yoni Fogel's avatar Yoni Fogel

Added additional testing to test_db_already_exists>

git-svn-id: file:///svn/tokudb@693 c7de825b-a66e-492c-adef-691d508d4ae1
parent 83643695
......@@ -28,6 +28,9 @@ int main() {
r = db_create(&db, null_env, 0); CKERR(r);
r = db->open(db, null_txn, fname, "main", DB_BTREE, DB_CREATE, 0666); CKERR(r);
r = db->close(db, 0); CKERR(r);
r = db_create(&db, null_env, 0); CKERR(r);
r = db->open(db, null_txn, fname, "main", DB_BTREE, 0, 0666); CKERR(r);
r = db->close(db, 0); CKERR(r);
r = db_create(&db, null_env, 0); CKERR(r);
r = db->open(db, null_txn, fname, "main", DB_BTREE, DB_EXCL, 0666);
......
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