1
by brian
clean slate |
1 |
#
|
2 |
# Tests for time functions. The difference from func_time test is the |
|
3 |
# timezone. In func_time it's GMT-3. In our case it's GMT+10 |
|
4 |
#
|
|
5 |
||
6 |
#
|
|
7 |
# Test for bug bug #9191 "TIMESTAMP/from_unixtime() no longer accepts 2^31-1" |
|
8 |
#
|
|
9 |
||
10 |
select from_unixtime(0); |
|
11 |
# check 0 boundary |
|
1731.3.1
by Lee Bieber
change tests to use enum values instead of error numbers |
12 |
--error ER_INVALID_UNIX_TIMESTAMP_VALUE |
1
by brian
clean slate |
13 |
select unix_timestamp('1969-12-31 14:00:01'); |
907.1.7
by Jay Pipes
Merged in remove-timezone work |
14 |
select unix_timestamp('1970-01-01 00:00:01'); |
1
by brian
clean slate |
15 |