Commit 26ede4b6 authored by hhunger@hh-nb.hungers's avatar hhunger@hh-nb.hungers

Inserted changes from the review of bug#32664.

parent 0c6e1743
......@@ -124,6 +124,8 @@ drop event existant;
create table t_event3 (a int, b float);
drop event if exists event3;
create event event3 on schedule every 50 + 10 minute starts date_add("20100101", interval 5 minute) ends date_add("20151010", interval 5 day) comment "portokala_comment" DO insert into t_event3 values (unix_timestamp(), rand());
let $wait_condition=SELECT count(*)=0 from t_event3;
--source include/wait_condition.inc
select count(*) from t_event3;
drop event event3;
drop table t_event3;
......@@ -308,7 +310,6 @@ SELECT event_name FROM INFORMATION_SCHEMA.events;
SHOW CREATE EVENT intact_check;
--error ER_EVENT_DOES_NOT_EXIST
DROP EVENT no_such_event;
#--error ER_CANNOT_LOAD_FROM_TABLE peplaced by:
--error ER_EVENT_STORE_FAILED
CREATE EVENT intact_check_1 ON SCHEDULE EVERY 5 HOUR DO SELECT 5;
--error ER_EVENT_DOES_NOT_EXIST
......
......@@ -196,9 +196,9 @@ drop event e1;
# Test wrong syntax
#
--error 1102
--error ER_WRONG_DB_NAME
SHOW EVENTS FROM aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
--error 1102
--error ER_WRONG_DB_NAME
SHOW EVENTS FROM ``;
SHOW EVENTS FROM `events\\test`;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment