Res res;
};
-#if 0
+
+#define PR_KEY_LOW 0
+#define PR_KEY_TOP 0
+
+#if PR_KEY_LOW || PR_KEY_TOP
+
static void pkey(const char *b, int mode)
{
key_logdump_txt(YLOG_LOG, b, mode ? "i" : "d");
return 1;
}
-#define PR_KEY_LOW 0
-#define PR_KEY_TOP 0
/* for debugging only */
void zebra_log_dict_entry(ZebraHandle zh, const char *s)
p->look_level++;
}
memcpy(*dst, p->key_1, p->sz_1);
-#if 0
+#if PR_KEY_TOP
yaz_log(YLOG_LOG, "DUP level=%d", p->look_level);
pkey(*dst, *insertMode);
#endif
}
p->look_level = level;
memcpy(*dst, p->key_1, p->sz_1);
-#if 0
+#if PR_KEY_TOP
+ yaz_log(YLOG_LOG, "TOP");
pkey(*dst, *insertMode);
#endif
(*dst) += p->sz_1;