summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/share/errmsg.txt2
-rw-r--r--sql/sql_parse.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/share/errmsg.txt b/sql/share/errmsg.txt
index abd4b746aa8..0f5358d8176 100644
--- a/sql/share/errmsg.txt
+++ b/sql/share/errmsg.txt
@@ -5726,7 +5726,7 @@ ER_EVENT_ALREADY_EXISTS
ER_EVENT_STORE_FAILED
eng "Failed to store event %s. Error code %d from storage engine."
ER_EVENT_DOES_NOT_EXIST
- eng "Event %s does not exist"
+ eng "Unknown event '%s'"
ER_EVENT_CANT_ALTER
eng "Failed to alter event %s"
ER_EVENT_DROP_FAILED
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index c21d62952bf..f06fa0bbafe 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -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)