Commit ee6adf09 authored by Yoni Fogel's avatar Yoni Fogel

NULL homedir is acceptable now.

git-svn-id: file:///svn/tokudb@1040 c7de825b-a66e-492c-adef-691d508d4ae1
parent 123dd77a
...@@ -269,7 +269,7 @@ int create_init_env() ...@@ -269,7 +269,7 @@ int create_init_env()
REMOVE_BITS(flags, DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN); REMOVE_BITS(flags, DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN);
SET_BITS(flags, DB_CREATE | DB_PRIVATE); SET_BITS(flags, DB_CREATE | DB_PRIVATE);
retval = dbenv->open(dbenv, g.homedir ? g.homedir : ".", flags, 0); retval = dbenv->open(dbenv, g.homedir, flags, 0);
if (retval) { if (retval) {
ERROR(retval, "DB_ENV->open"); ERROR(retval, "DB_ENV->open");
goto error; goto error;
......
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