MDEV-29613 fixup: Mroonga -Wunused-function

This commit is contained in:
Marko Mäkelä 2022-10-07 12:46:06 +03:00
commit 9fd91863e6

View file

@ -335,7 +335,7 @@ static int mrn_change_encoding(grn_ctx *ctx, const CHARSET_INFO *charset)
return mrn::encoding::set(ctx, charset);
}
#if !defined(DBUG_OFF) && !defined(_lint)
#if defined DBUG_TRACE && !defined(_lint)
static const char *mrn_inspect_thr_lock_type(enum thr_lock_type lock_type)
{
const char *inspected = "<unknown>";