~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Tests for time functions. The difference from func_time test is the
# timezone. In func_time it's GMT-3. In our case it's GMT+10
#

#
# Test for bug bug #9191 "TIMESTAMP/from_unixtime() no longer accepts 2^31-1"
#

select from_unixtime(0);
# check 0 boundary
--error 1685
select unix_timestamp('1969-12-31 14:00:01');
select unix_timestamp('1970-01-01 00:00:01');