summaryrefslogtreecommitdiff
path: root/mysql-test/t/type_timestamp.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2015-01-17 16:10:45 +0400
committerAlexander Barkov <bar@mnogosearch.org>2015-01-17 16:10:45 +0400
commit252be4c9e75ea126ec32619c136961d53bdabe59 (patch)
treea95892cd16c6f4f822593177d82aad0761b97bc8 /mysql-test/t/type_timestamp.test
parent6164157b3f86af4e67658ae2f4d86effc05806fa (diff)
downloadmariadb-git-252be4c9e75ea126ec32619c136961d53bdabe59.tar.gz
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.
Diffstat (limited to 'mysql-test/t/type_timestamp.test')
-rw-r--r--mysql-test/t/type_timestamp.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/type_timestamp.test b/mysql-test/t/type_timestamp.test
index d0e8be22bdd..77ce8c595ca 100644
--- a/mysql-test/t/type_timestamp.test
+++ b/mysql-test/t/type_timestamp.test
@@ -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