diff options
author | monty@mysql.com <> | 2003-12-14 21:31:02 +0100 |
---|---|---|
committer | monty@mysql.com <> | 2003-12-14 21:31:02 +0100 |
commit | 217226f9afcefb7918ce0aee5ac920dfdf73edf0 (patch) | |
tree | e661c1692af1d54159fe987e0c4f2697268c7ae4 /mysql-test/r/timezone.result | |
parent | 427ce41c3c29edc5fa357bf342b369e0a0611b98 (diff) | |
download | mariadb-git-217226f9afcefb7918ce0aee5ac920dfdf73edf0.tar.gz |
Portablity fix
Diffstat (limited to 'mysql-test/r/timezone.result')
-rw-r--r-- | mysql-test/r/timezone.result | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/mysql-test/r/timezone.result b/mysql-test/r/timezone.result index de75e649ee4..20706408075 100644 --- a/mysql-test/r/timezone.result +++ b/mysql-test/r/timezone.result @@ -1,4 +1,13 @@ DROP TABLE IF EXISTS t1; +show variables like "timezone"; +Variable_name Value +timezone MET +select @a:=FROM_UNIXTIME(1); +@a:=FROM_UNIXTIME(1) +1970-01-01 01:00:01 +select unix_timestamp(@a); +unix_timestamp(@a) +1 CREATE TABLE t1 (ts int); INSERT INTO t1 (ts) VALUES (Unix_timestamp('2002-10-27 01:00')); INSERT INTO t1 (ts) VALUES (Unix_timestamp('2002-10-27 02:00')); @@ -23,9 +32,3 @@ ts from_unixtime(ts) 1048989599 2003-03-30 03:59:59 1048989601 2003-03-30 04:00:01 DROP TABLE t1; -select @a:=FROM_UNIXTIME(1); -@a:=FROM_UNIXTIME(1) -1970-01-01 01:00:01 -select unix_timestamp(@a); -unix_timestamp(@a) -1 |