Commit d1e325c2 authored by unknown's avatar unknown

sql_select.cc:

  my_message_sql does not tolerate a NullS argument (segfault)


sql/sql_select.cc:
  my_message_sql does not tolerate a NullS argument (segfault)
parent 69d27cb0
...@@ -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