From 55cbf745ff74e194b578cf9f94d7da6cf68097d9 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Mon, 31 Aug 2015 22:55:49 +0300 Subject: [PATCH] lmdb: follow mdb_dump to ITS#8181. Update mdb_dump corresponding to I5ebce36694045279702c74490a5a634217d4f95d. Change-Id: I813bb6b4eedd9aba6f79b9c566331a1c053b53a2 --- mdb_dump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mdb_dump.c b/mdb_dump.c index 830cb082..66908ff5 100644 --- a/mdb_dump.c +++ b/mdb_dump.c @@ -298,7 +298,8 @@ int main(int argc, char *argv[]) if (!count) { fprintf(stderr, "%s: %s does not contain multiple databases\n", prog, envname); rc = MDB_NOTFOUND; - } else if (rc == MDB_BAD_DBI) { + } else if (rc == MDB_INCOMPATIBLE) { + /* LY: the record it not a named sub-db. */ rc = MDB_SUCCESS; } } else {