~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/t/timezone4.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

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