We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf4291 commit e2a59ebCopy full SHA for e2a59eb
sql/item.cc
@@ -9740,7 +9740,15 @@ const char *dbug_print_item(Item *item)
9740
str.length(0);
9741
if (!item)
9742
return "(Item*)NULL";
9743
- item->print(&str ,QT_ORDINARY);
+
9744
+ THD *thd= current_thd;
9745
+ ulonglong save_option_bits= thd->variables.option_bits;
9746
+ thd->variables.option_bits &= ~OPTION_QUOTE_SHOW_CREATE;
9747
9748
+ item->print(&str ,QT_EXPLAIN);
9749
9750
+ thd->variables.option_bits= save_option_bits;
9751
9752
if (str.c_ptr() == buf)
9753
return buf;
9754
else
0 commit comments