Fix prev commit for env_sync0

vl32b
Howard Chu 10 years ago
parent 0018eeb2c3
commit 985bbbbdd5
  1. 2
      libraries/liblmdb/mdb.c

@ -3467,7 +3467,7 @@ mdb_txn_commit(MDB_txn *txn)
} }
#endif #endif
if ((rc = mdb_page_flush(txn, 0)) || if ((rc = mdb_page_flush(txn, 0)) ||
(rc = mdb_env_sync(env, i)) || (rc = mdb_env_sync0(env, i)) ||
(rc = mdb_env_write_meta(txn))) (rc = mdb_env_write_meta(txn)))
goto fail; goto fail;

Loading…
Cancel
Save