mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
WL#1034 update
fix bug with DROP EVENT non_existant; giving back OK + warning sql/share/errmsg.txt: fix error message sql/sql_parse.cc: check the result from the function so in case of non-existing event don't return OK which will make the error already thrown an warning
This commit is contained in:
@@ -3696,7 +3696,7 @@ end_with_restore_list:
|
||||
res= evex_update_event(thd, lex->et, lex->spname);
|
||||
break;
|
||||
case SQLCOM_DROP_EVENT:
|
||||
evex_drop_event(thd, lex->et, lex->drop_if_exists);
|
||||
res= evex_drop_event(thd, lex->et, lex->drop_if_exists);
|
||||
default:;
|
||||
}
|
||||
if (!res)
|
||||
|
||||
Reference in New Issue
Block a user