diff options
author | cbell/Chuck@mysql_cab_desk. <> | 2007-03-29 11:11:28 -0400 |
---|---|---|
committer | cbell/Chuck@mysql_cab_desk. <> | 2007-03-29 11:11:28 -0400 |
commit | 0322284f92e55d8c2bf0eeb5e20cdef650f74578 (patch) | |
tree | 104ef58e61638ebfe3635db6c4410df0c1e90c2b /sql/event_data_objects.cc | |
parent | a591514a67796cdf81249751e17d24b505656f21 (diff) | |
download | mariadb-git-0322284f92e55d8c2bf0eeb5e20cdef650f74578.tar.gz |
WL#3629 - Replication of Invocation and Invoked Features
This patch corrects errors that occurred in a local manual merge.
It adds the originator column in the results of the SHOW EVENTS command
for a series of tests.
The only code change is to correct references to the classname in
enums.
Diffstat (limited to 'sql/event_data_objects.cc')
-rw-r--r-- | sql/event_data_objects.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/event_data_objects.cc b/sql/event_data_objects.cc index 9f9e778658f..a3fb9a284d5 100644 --- a/sql/event_data_objects.cc +++ b/sql/event_data_objects.cc @@ -244,7 +244,7 @@ Event_parse_data::check_if_in_the_past(THD *thd, my_time_t ltime_utc) if (ltime_utc >= (my_time_t) thd->query_start()) return; - if (on_completion == ON_COMPLETION_DROP) + if (on_completion == Event_basic::ON_COMPLETION_DROP) { switch (thd->lex->sql_command) { case SQLCOM_CREATE_EVENT: @@ -261,9 +261,9 @@ Event_parse_data::check_if_in_the_past(THD *thd, my_time_t ltime_utc) do_not_create= TRUE; } - else if (status == ENABLED) + else if (status == Event_basic::ENABLED) { - status= DISABLED; + status= Event_basic::DISABLED; push_warning(thd, MYSQL_ERROR::WARN_LEVEL_NOTE, ER_EVENT_EXEC_TIME_IN_THE_PAST, ER(ER_EVENT_EXEC_TIME_IN_THE_PAST)); |