mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
NULL home to dbenv now defaults to '.' instead of
EINVAL. addresses #59 git-svn-id: file:///svn/tokudb@792 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
f32c1f3196
commit
8fb3002f43
1 changed files with 0 additions and 1 deletions
|
@ -18,7 +18,6 @@ int main (int argc, char *argv[]) {
|
|||
// None of this stuff works with BDB. TDB does more error checking.
|
||||
#ifdef USE_TDB
|
||||
r=env->set_data_dir(env, NULL); assert(r==EINVAL);
|
||||
r=env->open(env, NULL, DB_PRIVATE, 0777); assert(r==EINVAL);
|
||||
r=env->open(env, DIR, DB_PRIVATE, 0777); assert(r==0);
|
||||
env->set_errpfx(env, NULL); assert(1); //Did not crash.
|
||||
r=env->set_tmp_dir(env, NULL); assert(r==EINVAL);
|
||||
|
|
Loading…
Add table
Reference in a new issue