1
0
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:
unknown
2005-12-16 09:49:24 +01:00
parent 20bcd56843
commit 2d11a56710
2 changed files with 2 additions and 2 deletions

View File

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