Fix prev commit for env_sync0
authorHoward Chu <hyc@openldap.org>
Sun, 21 Dec 2014 00:13:50 +0000 (00:13 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 21 Dec 2014 00:13:50 +0000 (00:13 +0000)
libraries/liblmdb/mdb.c

index d9ab5bd..002d88b 100644 (file)
@@ -3467,7 +3467,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;