|
|
@ -64,7 +64,7 @@ int main(int argc,char * argv[]) |
|
|
|
act = "opening environment"; |
|
|
|
act = "opening environment"; |
|
|
|
rc = mdb_env_create(&env); |
|
|
|
rc = mdb_env_create(&env); |
|
|
|
if (rc == MDB_SUCCESS) { |
|
|
|
if (rc == MDB_SUCCESS) { |
|
|
|
rc = mdb_env_open(env, argv[1], flags, 0664); |
|
|
|
rc = mdb_env_open(env, argv[1], flags, 0600); |
|
|
|
} |
|
|
|
} |
|
|
|
if (rc == MDB_SUCCESS) { |
|
|
|
if (rc == MDB_SUCCESS) { |
|
|
|
act = "copying"; |
|
|
|
act = "copying"; |
|
|
|