Fix prev commit for env_sync0

This commit is contained in:
Howard Chu 2014-12-21 00:13:50 +00:00
parent 02495837dc
commit e95c9231fc

View File

@ -3402,7 +3402,7 @@ mdb_txn_commit(MDB_txn *txn)
}
#endif
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)))
goto fail;