From 7ea16c1daf962c04e791cdaa608c44d97f5d4a1b Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Sun, 27 Nov 2016 00:04:28 +0300 Subject: [PATCH] mdbx: fix build mtest1. Change-Id: I8d206bb45ee4b99b1e12b32897c5b5b31c4df760 --- mtest1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mtest1.c b/mtest1.c index 4923ac64..ff063198 100644 --- a/mtest1.c +++ b/mtest1.c @@ -74,7 +74,7 @@ int main(int argc,char * argv[]) env_oflags = 0; } /* LY: especially here we always needs MDB_NOSYNC - * for testing mdb_env_close_ex() and "redo-to-steady" on open. */ + * for testing mdbx_env_close_ex() and "redo-to-steady" on open. */ env_oflags |= MDB_NOSYNC; E(mdb_env_open(env, DBPATH, env_oflags, 0664)); @@ -159,7 +159,7 @@ int main(int argc,char * argv[]) mdb_dbi_close(env, dbi); /********************* LY: kept DB dirty ****************/ - mdb_env_close_ex(env, 1); + mdbx_env_close_ex(env, 1); E(mdb_env_create(&env)); E(mdb_env_set_maxdbs(env, 4)); E(mdb_env_open(env, DBPATH, env_oflags, 0664)); @@ -194,7 +194,7 @@ int main(int argc,char * argv[]) mdb_txn_abort(txn); mdb_dbi_close(env, dbi); - mdb_env_close_ex(env, 0); + mdbx_env_close_ex(env, 0); return 0; }