Skip to content

Commit ceba41c

Browse files
committed
MDEV-9299 Test main.events_2 incompatible with Debian reproducibility testing framework
Debian tests are run in 2017, update the test to use 2027 as a "future".
1 parent e1385f2 commit ceba41c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mysql-test/r/events_2.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
drop database if exists events_test;
22
create database events_test;
33
use events_test;
4-
create event e_26 on schedule at '2017-01-01 00:00:00' disable do set @a = 5;
4+
create event e_26 on schedule at '2027-01-01 00:00:00' disable do set @a = 5;
55
select db, name, body, definer, convert_tz(execute_at, 'UTC', 'SYSTEM'), on_completion from mysql.event;
66
db name body definer convert_tz(execute_at, 'UTC', 'SYSTEM') on_completion
7-
events_test e_26 set @a = 5 root@localhost 2017-01-01 00:00:00 DROP
7+
events_test e_26 set @a = 5 root@localhost 2027-01-01 00:00:00 DROP
88
drop event e_26;
99
create event e_26 on schedule at NULL disable do set @a = 5;
1010
ERROR HY000: Incorrect AT value: 'NULL'

mysql-test/t/events_2.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use events_test;
1313
# mysql.event intact checking end
1414
#
1515

16-
create event e_26 on schedule at '2017-01-01 00:00:00' disable do set @a = 5;
16+
create event e_26 on schedule at '2027-01-01 00:00:00' disable do set @a = 5;
1717
select db, name, body, definer, convert_tz(execute_at, 'UTC', 'SYSTEM'), on_completion from mysql.event;
1818
drop event e_26;
1919
--error ER_WRONG_VALUE

0 commit comments

Comments
 (0)