~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/timezone4.test

  • Committer: Monty Taylor
  • Date: 2008-08-01 23:59:59 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080801235959-n8ypy9r5aohown77
Gettext error compiles and passes test!

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
12
 
--error ER_INVALID_UNIX_TIMESTAMP_VALUE
13
 
select unix_timestamp('1969-12-31 14:00:01');
14
 
select unix_timestamp('1970-01-01 00:00:01');
15