diff options
author | unknown <cbell/Chuck@mysql_cab_desk.> | 2007-03-30 12:25:39 -0400 |
---|---|---|
committer | unknown <cbell/Chuck@mysql_cab_desk.> | 2007-03-30 12:25:39 -0400 |
commit | c3e420cf342eda2a7047d543dc95b8a64b704a6d (patch) | |
tree | 60503bff28bacaf6da0bfc85eccdd1a48c5a1954 /mysql-test/t/events_scheduling.test | |
parent | e950594efec94a302f1e33afb099de53f3c2b50e (diff) | |
download | mariadb-git-c3e420cf342eda2a7047d543dc95b8a64b704a6d.tar.gz |
This patch adds IF EXISTS to the drop of start_n_end to avoid a problem on
some build machines during testing.
mysql-test/t/events_scheduling.test:
This patch alters result file to match the DROP IF EXISTS that was changed
in the test.
Diffstat (limited to 'mysql-test/t/events_scheduling.test')
-rw-r--r-- | mysql-test/t/events_scheduling.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/events_scheduling.test b/mysql-test/t/events_scheduling.test index e3b55685e65..f7d4c3c14d6 100644 --- a/mysql-test/t/events_scheduling.test +++ b/mysql-test/t/events_scheduling.test @@ -51,7 +51,7 @@ SELECT IF(SUM(a) > 0, 'OK', 'ERROR') FROM table_4; DROP EVENT two_sec; SELECT IF(TIME_TO_SEC(TIMEDIFF(ENDS,STARTS))=6, 'OK', 'ERROR') FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA=DATABASE() AND EVENT_NAME='start_n_end' AND ENDS IS NOT NULL; SELECT IF(LAST_EXECUTED-ENDS < 3, 'OK', 'ERROR') FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA=DATABASE() AND EVENT_NAME='start_n_end' AND ENDS IS NOT NULL; -DROP EVENT start_n_end; +DROP EVENT IF EXISTS events_test.start_n_end; --echo "Already dropped because ended. Therefore an error." --error ER_EVENT_DOES_NOT_EXIST DROP EVENT only_one_time; |