From ad3346dddf419aed3e5d16066471fd5022af1795 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 16 Nov 2018 14:00:36 +0100 Subject: [PATCH] add more dbug helpers for gdb --- sql/item.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/item.cc b/sql/item.cc index 81da813a55e..25fb9be22eb 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -10752,6 +10752,9 @@ const char *dbug_print_unit(SELECT_LEX_UNIT *un) return "Couldn't fit into buffer"; } +const char *dbug_print(Item *x) { return dbug_print_item(x); } +const char *dbug_print(SELECT_LEX *x) { return dbug_print_select(x); } +const char *dbug_print(SELECT_LEX_UNIT *x) { return dbug_print_unit(x); } #endif /*DBUG_OFF*/