Commit d913f4e4 authored by guilhem@mysql.com's avatar guilhem@mysql.com

sql_select.cc:

  my_message_sql does not tolerate a NullS argument (segfault)
parent 9e467cc0
...@@ -238,7 +238,7 @@ bool handle_select(THD *thd, LEX *lex, select_result *result) ...@@ -238,7 +238,7 @@ bool handle_select(THD *thd, LEX *lex, select_result *result)
/* /*
If we have real error reported erly then this will be ignored If we have real error reported erly then this will be ignored
*/ */
result->send_error(ER_UNKNOWN_ERROR, NullS); result->send_error(ER_UNKNOWN_ERROR, ER(ER_UNKNOWN_ERROR));
result->abort(); result->abort();
} }
DBUG_RETURN(res); DBUG_RETURN(res);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment