diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
commit | 3f619478f796eddbba6e39502fe941b285dd97b1 (patch) | |
tree | e2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/main/alter_events.result | |
parent | Initial commit. (diff) | |
download | mariadb-upstream.tar.xz mariadb-upstream.zip |
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/main/alter_events.result')
-rw-r--r-- | mysql-test/main/alter_events.result | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/main/alter_events.result b/mysql-test/main/alter_events.result new file mode 100644 index 00000000..b3bd8d26 --- /dev/null +++ b/mysql-test/main/alter_events.result @@ -0,0 +1,14 @@ +SET GLOBAL event_scheduler=1; +CREATE TABLE t1 (a int primary key, b int) engine=innodb; +insert into t1 values (1,1),(2,2),(3,3); +CREATE TABLE t2 (a int primary key) engine=innodb; +CREATE EVENT e_t1 ON SCHEDULE EVERY 1 SECOND DO insert ignore into test.t2 select a from test.t1; +select * from t2; +a +1 +2 +3 +drop event e_t1; +ALTER TABLE mysql.event DROP PRIMARY KEY, ADD PRIMARY KEY(db,name); +drop table t1,t2; +SET GLOBAL event_scheduler=default; |