1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

sql_select.cc:

my_message_sql does not tolerate a NullS argument (segfault)
This commit is contained in:
guilhem@mysql.com
2004-11-25 01:06:37 +01:00
parent 9e467cc009
commit d913f4e4ab

View File

@ -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);