lmdb: follow mdb_dump to ITS#8181.

Update mdb_dump corresponding to I5ebce36694045279702c74490a5a634217d4f95d.

Change-Id: I813bb6b4eedd9aba6f79b9c566331a1c053b53a2
This commit is contained in:
Leo Yuriev 2015-08-31 22:55:49 +03:00
parent 1be4140abf
commit 55cbf745ff

View File

@ -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 {