Commit 46f187de authored by Yoni Fogel's avatar Yoni Fogel

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
parent 162a5652
...@@ -17,9 +17,9 @@ int main (int argc, char *argv[]) { ...@@ -17,9 +17,9 @@ int main (int argc, char *argv[]) {
system("rm -rf " DIR); system("rm -rf " DIR);
mkdir(DIR, 0777); mkdir(DIR, 0777);
r = db_env_create (&env, 0); assert(r==0); 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); r = db_create(&db, env, 0);
assert(r==0); CKERR(r);
db->set_errfile(db, stderr); db->set_errfile(db, stderr);
{ {
DB_TXN *x; DB_TXN *x;
......
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