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 0c188d5 commit 374dae3Copy full SHA for 374dae3
sql/item_subselect.cc
@@ -711,11 +711,14 @@ bool Item_subselect::exec()
711
DBUG_ASSERT(fixed);
712
713
DBUG_EXECUTE_IF("Item_subselect",
714
- push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
715
- ER_UNKNOWN_ERROR, "DBUG: Item_subselect::exec %s",
716
- Item::Print(this,
717
- enum_query_type(QT_TO_SYSTEM_CHARSET |
718
- QT_WITHOUT_INTRODUCERS)).ptr()););
+ Item::Print print(this,
+ enum_query_type(QT_TO_SYSTEM_CHARSET |
+ QT_WITHOUT_INTRODUCERS));
+
+ push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
719
+ ER_UNKNOWN_ERROR, "DBUG: Item_subselect::exec %.*s",
720
+ print.length(),print.ptr());
721
+ );
722
/*
723
Do not execute subselect in case of a fatal error
724
or if the query has been killed.
0 commit comments