From e95c9231fc8de567b724477373259e07c62ce210 Mon Sep 17 00:00:00 2001
From: Howard Chu <hyc@openldap.org>
Date: Sun, 21 Dec 2014 00:13:50 +0000
Subject: [PATCH] Fix prev commit for env_sync0

---
 libraries/liblmdb/mdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c
index cf398d9498..6cc1422c7e 100644
--- a/libraries/liblmdb/mdb.c
+++ b/libraries/liblmdb/mdb.c
@@ -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;
 
-- 
GitLab