lmdb: minor refine mdb_chk output,

mostly for 'zero size-of-entry' error.

Change-Id: I0f7ae514860ea05179fd929b76f78ba843902e92
This commit is contained in:
Leo Yuriev
2015-09-03 17:20:01 +03:00
parent 07ee471b1c
commit 16a30be8fc
2 changed files with 41 additions and 34 deletions

8
mdb.c
View File

@@ -9833,15 +9833,13 @@ mdb_env_walk(mdb_walk_ctx_t *ctx, const char* dbi, pgno_t pg, int flags, int dee
type = "leaf";
break;
case P_LEAF|P_SUBP:
type = "leaf-dupsort";
type = "dupsort-subleaf";
break;
case P_LEAF|P_LEAF2:
/* #MDB_DUPFIXED records */
type = "leaf-dupfixed";
type = "dupfixed-leaf";
break;
case P_LEAF|P_LEAF2|P_SUBP:
/* #MDB_DUPSORT sub-pages */
type = "leaf-dupfixed-dupsort";
type = "dupsort-dupfixed-subleaf";
break;
case P_META:
case P_OVERFLOW: