diff --git a/src/gc-get.c b/src/gc-get.c index 22559c9b..520ef522 100644 --- a/src/gc-get.c +++ b/src/gc-get.c @@ -1090,7 +1090,7 @@ next_gc: rkl_t *rkl = &txn->wr.gc.reclaimed; const char *rkl_name = "reclaimed"; if (mc->dbi_state != txn->dbi_state && - (MDBX_DEBUG || pnl_size(txn->wr.repnl) > (size_t)gc->tree->height + gc->tree->height + 3)) { + (MDBX_DEBUG > 0 || pnl_size(txn->wr.repnl) > (size_t)gc->tree->height + gc->tree->height + 3)) { gc->next = txn->cursors[FREE_DBI]; txn->cursors[FREE_DBI] = gc; ret.err = cursor_del(gc, 0);