1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MWL#182: Explain running statements

- Address feedback from the second code review.
This commit is contained in:
Sergey Petrunya
2012-07-17 21:52:08 +04:00
parent a49b4c970f
commit 2368f8895d
12 changed files with 201 additions and 184 deletions

View File

@ -2155,9 +2155,9 @@ mysql_execute_command(THD *thd)
*/
if (lex->sroutines.records || lex->query_tables->next_global)
{
my_error(ER_NOT_SUPPORTED_YET, MYF(0), "Usage of subqueries or stored "
"function calls as part of this statement");
break;
my_message(ER_SET_CONSTANTS_ONLY, ER(ER_SET_CONSTANTS_ONLY),
MYF(0));
goto error;
}
Item **it= &(lex->show_explain_for_thread);