summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-11-16 14:00:36 +0100
committerSergei Golubchik <serg@mariadb.org>2018-12-12 20:22:52 +0100
commitad3346dddf419aed3e5d16066471fd5022af1795 (patch)
tree30ecdb181c2353ffb1290c4531dfdc13c6379fd1 /sql/item.cc
parentc913cd2b669f906f17c87b4c0864ae95b3911e03 (diff)
downloadmariadb-git-ad3346dddf419aed3e5d16066471fd5022af1795.tar.gz
add more dbug helpers for gdb
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc3
1 files changed, 3 insertions, 0 deletions
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*/