~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_timestamp.test

  • Committer: Monty Taylor
  • Date: 2008-08-01 22:33:44 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080801223344-vzhlflfmtijp1imv
First pass at gettexizing the error messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Tests that depend on the timestamp and the TZ variable
3
 
#
4
 
 
5
 
--disable_warnings
6
 
drop table if exists t1;
7
 
--enable_warnings
8
 
 
9
 
# Set timezone to GMT-3, to make it possible to use "interval 3 hour"
10
 
create table t1 (Tag int not null, Monat int not null,
11
 
Jahr int not null, index(Tag), index(Monat), index(Jahr) );
12
 
insert into t1 values (16,9,1998),(16,9,1998);
13
 
SELECT CONCAT(Jahr,'-',Monat,'-',Tag) AS Date,
14
 
   UNIX_TIMESTAMP(CONCAT(Jahr,'-',Monat,'-',Tag)) AS Unix
15
 
FROM t1;
16
 
drop table t1;
17
 
 
18
 
# End of 4.1 tests