diff --git a/libraries/liblmdb/mtest4.c b/libraries/liblmdb/mtest4.c index e0ba7e2..e4da8db 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 0bf26cc..1dd246b 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);