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/status2.test | |
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/status2.test')
-rw-r--r-- | mysql-test/t/status2.test | 4 |
1 files changed, 2 insertions, 2 deletions
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'; |