|
|
cee9fb |
From 7454f1c54cd310455ecc49a5c9af82fad96be66f Mon Sep 17 00:00:00 2001
|
|
|
cee9fb |
From: Sergei Golubchik <serg@mariadb.org>
|
|
|
cee9fb |
Date: Thu, 15 Oct 2015 08:49:58 +0200
|
|
|
cee9fb |
Subject: [PATCH] fix events_1 test for October 2015
|
|
|
cee9fb |
|
|
|
cee9fb |
---
|
|
|
cee9fb |
mysql-test/r/events_1.result | 3 ++-
|
|
|
cee9fb |
mysql-test/t/events_1.test | 3 ++-
|
|
|
cee9fb |
2 files changed, 4 insertions(+), 2 deletions(-)
|
|
|
cee9fb |
|
|
|
cee9fb |
diff --git a/mysql-test/r/events_1.result b/mysql-test/r/events_1.result
|
|
|
cee9fb |
index 7811549..637cd26 100644
|
|
|
cee9fb |
--- a/mysql-test/r/events_1.result
|
|
|
cee9fb |
+++ b/mysql-test/r/events_1.result
|
|
|
cee9fb |
@@ -115,7 +115,8 @@ create table t_event3 (a int, b float);
|
|
|
cee9fb |
drop event if exists event3;
|
|
|
cee9fb |
Warnings:
|
|
|
cee9fb |
Note 1305 Event event3 does not exist
|
|
|
cee9fb |
-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());
|
|
|
cee9fb |
+create event event3 on schedule every 50 + 10 minute starts date_add("20100101", interval 5 minute) ends date_add("20251010", interval 5 day)
|
|
|
cee9fb |
+comment "portokala_comment" DO insert into t_event3 values (unix_timestamp(), rand());
|
|
|
cee9fb |
select count(*) from t_event3;
|
|
|
cee9fb |
count(*)
|
|
|
cee9fb |
0
|
|
|
cee9fb |
diff --git a/mysql-test/t/events_1.test b/mysql-test/t/events_1.test
|
|
|
cee9fb |
index 7cd488b..badcfe4 100644
|
|
|
cee9fb |
--- a/mysql-test/t/events_1.test
|
|
|
cee9fb |
+++ b/mysql-test/t/events_1.test
|
|
|
cee9fb |
@@ -127,7 +127,8 @@ drop event existant;
|
|
|
cee9fb |
|
|
|
cee9fb |
create table t_event3 (a int, b float);
|
|
|
cee9fb |
drop event if exists event3;
|
|
|
cee9fb |
-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());
|
|
|
cee9fb |
+create event event3 on schedule every 50 + 10 minute starts date_add("20100101", interval 5 minute) ends date_add("20251010", interval 5 day)
|
|
|
cee9fb |
+ comment "portokala_comment" DO insert into t_event3 values (unix_timestamp(), rand());
|
|
|
cee9fb |
let $wait_condition=SELECT count(*)=0 from t_event3;
|
|
|
cee9fb |
--source include/wait_condition.inc
|
|
|
cee9fb |
select count(*) from t_event3;
|