From a6049489930dccd7354b8b681fe3e754032edb02 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 19 Feb 2014 21:25:40 +0100 Subject: [PATCH] mtest[46]: Use different DBs when different flags. --- libraries/liblmdb/mtest4.c | 2 +- libraries/liblmdb/mtest6.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblmdb/mtest4.c b/libraries/liblmdb/mtest4.c index e0ba7e20b6..e4da8db4ac 100644 --- a/libraries/liblmdb/mtest4.c +++ b/libraries/liblmdb/mtest4.c @@ -48,7 +48,7 @@ int main(int argc,char * argv[]) rc = mdb_env_set_maxdbs(env, 4); rc = mdb_env_open(env, "./testdb", MDB_FIXEDMAP|MDB_NOSYNC, 0664); rc = mdb_txn_begin(env, NULL, 0, &txn); - rc = mdb_open(txn, "id2", MDB_CREATE|MDB_DUPSORT|MDB_DUPFIXED, &dbi); + rc = mdb_open(txn, "id4", MDB_CREATE|MDB_DUPSORT|MDB_DUPFIXED, &dbi); key.mv_size = sizeof(int); key.mv_data = kval; diff --git a/libraries/liblmdb/mtest6.c b/libraries/liblmdb/mtest6.c index 0bf26ccc45..1dd246b463 100644 --- a/libraries/liblmdb/mtest6.c +++ b/libraries/liblmdb/mtest6.c @@ -43,7 +43,7 @@ int main(int argc,char * argv[]) rc = mdb_env_set_maxdbs(env, 4); rc = mdb_env_open(env, "./testdb", MDB_FIXEDMAP|MDB_NOSYNC, 0664); rc = mdb_txn_begin(env, NULL, 0, &txn); - rc = mdb_open(txn, "id2", MDB_CREATE|MDB_INTEGERKEY, &dbi); + rc = mdb_open(txn, "id6", MDB_CREATE|MDB_INTEGERKEY, &dbi); rc = mdb_cursor_open(txn, dbi, &cursor); rc = mdb_stat(txn, dbi, &mst); -- 2.39.5