From 113b1e094eb427dfbf7f4ef6d1107965f1709955 Mon Sep 17 00:00:00 2001 From: Yoni Fogel Date: Fri, 8 Feb 2008 05:24:29 +0000 Subject: [PATCH] Modified test-weakxaction.c to work with tokudb. Test does not yet pass due to locking not fully implemented. git-svn-id: file:///svn/tokudb@2171 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/tests/test-weakxaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/test-weakxaction.c b/src/tests/test-weakxaction.c index 5152750687e..a6d1da7a8c7 100644 --- a/src/tests/test-weakxaction.c +++ b/src/tests/test-weakxaction.c @@ -17,9 +17,9 @@ int main (int argc, char *argv[]) { system("rm -rf " DIR); mkdir(DIR, 0777); r = db_env_create (&env, 0); assert(r==0); - r = env->open(env, DIR, DB_CREATE | DB_INIT_MPOOL | DB_INIT_LOG | DB_INIT_TXN | DB_INIT_LOCK, 0777); assert(r==0); + r = env->open(env, DIR, DB_CREATE | DB_PRIVATE | DB_INIT_MPOOL | DB_INIT_LOG | DB_INIT_TXN | DB_INIT_LOCK, 0777); CKERR(r); r = db_create(&db, env, 0); - assert(r==0); + CKERR(r); db->set_errfile(db, stderr); { DB_TXN *x;