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

fix for bug#16410 (Events: CREATE EVENT is legal in a CREATE TRIGGER statement)

WL#1034 (Internal CRON)
(post-post-review updates)
This commit is contained in:
andrey@lmy004.
2006-02-15 17:12:27 +01:00
parent 3195aef714
commit 32ae54bdbc
4 changed files with 24 additions and 0 deletions

View File

@ -3773,6 +3773,12 @@ end_with_restore_list:
is_schema_db(lex->et->dbname.str)))
break;
if (end_active_trans(thd))
{
res= -1;
break;
}
switch (lex->sql_command) {
case SQLCOM_CREATE_EVENT:
res= evex_create_event(thd, lex->et, (uint) lex->create_info.options,