Commit 3a0fa045 authored by Yoni Fogel's avatar Yoni Fogel

db_create returns EINVAL on any flags. Fixes #36

git-svn-id: file:///svn/tokudb@756 c7de825b-a66e-492c-adef-691d508d4ae1
parent 83f2f58f
......@@ -769,6 +769,8 @@ extern int toku_default_compare_fun(DB * db, const DBT * a, const DBT * b);
int db_create(DB ** db, DB_ENV * env, u_int32_t flags) {
int r;
if (flags) return EINVAL;
/* if the env already exists then add a ref to it
otherwise create one */
if (env) {
......
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