Loading sql/sql_parse.cc +9 −9 Original line number Diff line number Diff line Loading @@ -3968,6 +3968,7 @@ mysql_execute_command(THD *thd) } case SQLCOM_CREATE_EVENT: case SQLCOM_ALTER_EVENT: do { DBUG_ASSERT(lex->event_parse_data); if (lex->table_or_sp_used()) Loading @@ -3993,16 +3994,15 @@ mysql_execute_command(THD *thd) if (!res) send_ok(thd); } while (0); /* Don't do it, if we are inside a SP */ if (!thd->spcont) { delete lex->sphead; lex->sphead= NULL; } /* lex->unit.cleanup() is called outside, no need to call it here */ break; } case SQLCOM_DROP_EVENT: case SQLCOM_SHOW_CREATE_EVENT: { Loading Loading
sql/sql_parse.cc +9 −9 Original line number Diff line number Diff line Loading @@ -3968,6 +3968,7 @@ mysql_execute_command(THD *thd) } case SQLCOM_CREATE_EVENT: case SQLCOM_ALTER_EVENT: do { DBUG_ASSERT(lex->event_parse_data); if (lex->table_or_sp_used()) Loading @@ -3993,16 +3994,15 @@ mysql_execute_command(THD *thd) if (!res) send_ok(thd); } while (0); /* Don't do it, if we are inside a SP */ if (!thd->spcont) { delete lex->sphead; lex->sphead= NULL; } /* lex->unit.cleanup() is called outside, no need to call it here */ break; } case SQLCOM_DROP_EVENT: case SQLCOM_SHOW_CREATE_EVENT: { Loading