X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/35e29472609cb3345809d48f0b4e7c75b6c1be6f..64b2834657e4c215dc0489417177a37c80d9ac46:/src/migrate.c 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);