diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-04-25 18:51:28 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-04-27 08:12:21 +0200 |
commit | 8fc9512dc411cfc6781c9bdecfdba410f10ed715 (patch) | |
tree | de6cfeace206adacbb37dabb33d5c24f16f486f7 /mysql-test/t | |
parent | 1b82d899fe67f1bcaf0fad89dca66eb4009e54f5 (diff) | |
download | mariadb-git-bb-10.1-MDEV-19265.tar.gz |
MDEV-19265 Server should throw warning if event is created and event_scheduler = OFFbb-10.1-MDEV-19265
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/events_stress.test | 1 | ||||
-rw-r--r-- | mysql-test/t/status2.test | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/t/events_stress.test b/mysql-test/t/events_stress.test index 8ea7633877b..080707f029f 100644 --- a/mysql-test/t/events_stress.test +++ b/mysql-test/t/events_stress.test @@ -21,6 +21,7 @@ GRANT ALL ON *.* TO event_user3@localhost; connect (conn2,localhost,event_user2,,events_conn2_db); --echo "In the second connection we create some events which won't be dropped till the end" --disable_query_log +--disable_warnings let $1= 50; while ($1) { diff --git a/mysql-test/t/status2.test b/mysql-test/t/status2.test index 2d1541c54f2..fa3b718efaa 100644 --- a/mysql-test/t/status2.test +++ b/mysql-test/t/status2.test @@ -20,11 +20,11 @@ END $$ DELIMITER ;$$ --disable_warnings DROP TABLE IF EXISTS t1,t2; +CREATE EVENT ev1 ON SCHEDULE EVERY 1 SECOND + DO INSERT INTO t1 VALUES(1); --enable_warnings CREATE TABLE t1 (c1 INT); CREATE TABLE t2 (c1 INT); -CREATE EVENT ev1 ON SCHEDULE EVERY 1 SECOND - DO INSERT INTO t1 VALUES(1); --echo Assert Questions == 7 SHOW STATUS LIKE 'Questions'; |