add more dbug helpers for gdb

This commit is contained in:
Sergei Golubchik 2018-11-16 14:00:36 +01:00
parent c913cd2b66
commit ad3346dddf

View file

@ -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*/