~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/timezone4.test

  • Committer: Monty
  • Date: 2008-10-02 05:41:33 UTC
  • mfrom: (398.1.10 codestyle)
  • Revision ID: mordred@scylla.inaugust.com-20081002054133-tyxv5bmqpazfaqqi
Merged up to 408 of stdint-includes-fix.

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