Fix env_open mode bits

vl32
Howard Chu 10 years ago
parent 58e9c3add8
commit 015d6b909a
  1. 2
      libraries/liblmdb/mdb_copy.c

@ -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, 0); rc = mdb_env_open(env, argv[1], flags, 0664);
} }
if (rc == MDB_SUCCESS) { if (rc == MDB_SUCCESS) {
act = "copying"; act = "copying";

Loading…
Cancel
Save