Commit 1889f790 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Remove another annoying error message. Addresses #375.

git-svn-id: file:///svn/tokudb@2239 c7de825b-a66e-492c-adef-691d508d4ae1
parent 261cb4ff
...@@ -25,6 +25,7 @@ void test_db_set_flags(int flags, int expectr, int flags2, int expectr2) { ...@@ -25,6 +25,7 @@ void test_db_set_flags(int flags, int expectr, int flags2, int expectr2) {
unlink(fname); unlink(fname);
r = db_create(&db, null_env, 0); assert(r == 0); r = db_create(&db, null_env, 0); assert(r == 0);
db->set_errfile(db,0); // Turn off those annoying errors
r = db->set_flags(db, flags); assert(r == expectr); r = db->set_flags(db, flags); assert(r == expectr);
r = db->open(db, null_txn, fname, "main", DB_BTREE, DB_CREATE, 0666); assert(r == 0); r = db->open(db, null_txn, fname, "main", DB_BTREE, DB_CREATE, 0666); assert(r == 0);
r = db->set_flags(db, flags2); assert(r == expectr2); r = db->set_flags(db, flags2); assert(r == expectr2);
......
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