summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-10-15 08:49:58 +0200
committerSergey Vojtovich <svoj@mariadb.org>2015-10-15 12:21:15 +0200
commit7454f1c54cd310455ecc49a5c9af82fad96be66f (patch)
tree84f40d2d6820aad216c3f527689527f67bbabe9b
parent534e4247c39fa9f3c53b7a808bd0cf0691d3bfaa (diff)
downloadmariadb-git-7454f1c54cd310455ecc49a5c9af82fad96be66f.tar.gz
fix events_1 test for October 2015
-rw-r--r--mysql-test/r/events_1.result3
-rw-r--r--mysql-test/t/events_1.test3
2 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/r/events_1.result b/mysql-test/r/events_1.result
index 78115497fc6..637cd26b79a 100644
--- a/mysql-test/r/events_1.result
+++ b/mysql-test/r/events_1.result
@@ -115,7 +115,8 @@ create table t_event3 (a int, b float);
drop event if exists event3;
Warnings:
Note 1305 Event event3 does not exist
-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());
+create event event3 on schedule every 50 + 10 minute starts date_add("20100101", interval 5 minute) ends date_add("20251010", interval 5 day)
+comment "portokala_comment" DO insert into t_event3 values (unix_timestamp(), rand());
select count(*) from t_event3;
count(*)
0
diff --git a/mysql-test/t/events_1.test b/mysql-test/t/events_1.test
index 7cd488bc376..badcfe4624f 100644
--- a/mysql-test/t/events_1.test
+++ b/mysql-test/t/events_1.test
@@ -127,7 +127,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());
+create event event3 on schedule every 50 + 10 minute starts date_add("20100101", interval 5 minute) ends date_add("20251010", 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;