summaryrefslogtreecommitdiff
path: root/mysql-test/t/events_1.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/events_1.test')
-rw-r--r--mysql-test/t/events_1.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysql-test/t/events_1.test b/mysql-test/t/events_1.test
index badcfe4624f..88120b0cd4f 100644
--- a/mysql-test/t/events_1.test
+++ b/mysql-test/t/events_1.test
@@ -127,8 +127,7 @@ 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("20251010", 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(curdate(), interval 5 minute) ends date_add(curdate(), 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;