Commit 252be4c9 authored by Alexander Barkov's avatar Alexander Barkov

A post-fix for:

MDEV-7254 Assigned expression is evaluated twice when updating column TIMESTAMP NOT NULL
The test type_timestamp failed depending on the build machine time zone.
Setting a fixed time zone for the test.
parent 6164157b
......@@ -648,6 +648,7 @@ End of 5.5 tests
#
# MDEV-7254: Assigned expression is evaluated twice when updating column TIMESTAMP NOT NULL
#
SET time_zone='+02:00';
create table t1(value timestamp not null);
set @a:=0;
create function f1 () returns timestamp
......@@ -688,4 +689,5 @@ select @a, value from t1;
drop table t1;
drop function f1;
set timestamp=0;
SET time_zone=DEFAULT;
End of 10.0 tests
......@@ -451,6 +451,7 @@ DROP TABLE t1;
--echo # MDEV-7254: Assigned expression is evaluated twice when updating column TIMESTAMP NOT NULL
--echo #
SET time_zone='+02:00';
create table t1(value timestamp not null);
set @a:=0;
delimiter //;
......@@ -489,5 +490,6 @@ select @a, value from t1;
drop table t1;
drop function f1;
set timestamp=0;
SET time_zone=DEFAULT;
--echo End of 10.0 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment