mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Better fix for bug#22830
Events: crash with procedure which alters events with function Post-review CS This fix also changes the handling of KILL command combined with subquery. It changes the error message given back to "not supported", from parse error. The error for CREATE|ALTER EVENT has also been changed to generate "not supported yet" instead of parse error. In case of a SP call, the error is "not supported yet". This change cleans the parser from code which should not belong to there. Still LEX::expr_allows_subselect is existant because it simplifies the handling of SQLCOM_HA_READ which forbids subselects.
This commit is contained in:
@ -48,7 +48,7 @@ select 4;
|
||||
drop table t1;
|
||||
connection default;
|
||||
|
||||
--error 1064
|
||||
--error ER_NOT_SUPPORTED_YET
|
||||
kill (select count(*) from mysql.user);
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user