Fix prev commit for env_sync0

mdb.RE/0.9
Howard Chu 10 years ago
parent 02495837dc
commit e95c9231fc
  1. 2
      libraries/liblmdb/mdb.c

@ -3402,7 +3402,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