From 64b2834657e4c215dc0489417177a37c80d9ac46 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 23 Dec 2012 09:30:48 +0000 Subject: [PATCH] Use the newer mdb_dbi_open instead of mdb_open. --- src/migrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrate.c b/src/migrate.c index 59d2ed5a..6d8aad7f 100644 --- a/src/migrate.c +++ b/src/migrate.c @@ -285,7 +285,7 @@ int startKeyArchive(void) { ret = mdb_txn_begin(env, NULL, 0, &txn); if (ret != 0) return ret; - ret = mdb_open(txn, NULL, 0, &dbi); + ret = mdb_dbi_open(txn, NULL, 0, &dbi); if (ret != 0) return ret; mdb_txn_commit(txn); -- 2.45.2