Commit 2b2c6a1d authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Disable an invocation that causes BDB 4.6.21 to segfault. Fixes #530. (Again)

git-svn-id: file:///svn/tokudb@2799 c7de825b-a66e-492c-adef-691d508d4ae1
parent b4515ba2
......@@ -29,6 +29,8 @@ int main() {
for (do_private=0; do_private<2; do_private++) {
#ifdef USE_TDB
if (do_private==0) continue; // See #208.
#else
if (do_private==1) continue; // See #530. BDB 4.6.21 segfaults if DB_PRIVATE is passed when no environment previously exists.
#endif
int private_flags = do_private ? DB_PRIVATE : 0;
......@@ -66,6 +68,7 @@ int main() {
CKERR(r);
r=db_create(&db, dbenv, 0);
CKERR(r);
db->close(db, 0);
dbenv->close(dbenv,0); // free memory
r = db_env_create(&dbenv, 0);
CKERR(r);
......
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