Skip to content
Snippets Groups Projects
Commit 015d6b90 authored by Howard Chu's avatar Howard Chu
Browse files

Fix env_open mode bits

parent 58e9c3ad
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ int main(int argc,char * argv[])
act = "opening environment";
rc = mdb_env_create(&env);
if (rc == MDB_SUCCESS) {
rc = mdb_env_open(env, argv[1], flags, 0);
rc = mdb_env_open(env, argv[1], flags, 0664);
}
if (rc == MDB_SUCCESS) {
act = "copying";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment