Commit f0f3df1b authored by Rich Prohaska's avatar Rich Prohaska

closes #190

git-svn-id: file:///svn/tokudb@1139 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9d1694a2
......@@ -25,7 +25,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__u
r=db_env_create(&env, 0); assert(r==0);
r=env->close (env, 1);
//BDB does not check this in some versions
#if defined(USE_TDB)
#if defined(USE_TDB) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3)
assert(r==EINVAL);
#else
assert(r==0);
......@@ -44,7 +44,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__u
r=env->open(env, DIR, DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_PRIVATE|DB_CREATE, 0777); CKERR(r);
r=env->close (env, 1);
//BDB does not check this.
#ifdef USE_TDB
#if defined(USE_TDB) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3)
assert(r==EINVAL);
#else
assert(r==0);
......
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