mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
db_create returns EINVAL on any flags. Fixes #36
git-svn-id: file:///svn/tokudb@756 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
b4e9133ffb
commit
acf13b93bb
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue