~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/keywords.test

  • Committer: Jay Pipes
  • Date: 2009-02-21 16:00:06 UTC
  • mto: (907.1.1 trunk-with-temporal)
  • mto: This revision was merged to the branch mainline in revision 908.
  • Revision ID: jpipes@serialcoder-20090221160006-vnk3wt4qbcz62eru
Removes the TIME column type and related time functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
drop table if exists t1;
7
7
--enable_warnings
8
8
 
9
 
create table t1 (time time, date date, timestamp timestamp,
 
9
create table t1 (date date, timestamp timestamp,
10
10
quarter int, week int, year int, timestampadd int, timestampdiff int);
11
 
insert into t1 values ("12:22:22","97/02/03","1997-01-02",1,2,3,4,5);
 
11
insert into t1 values ("97/02/03","1997-01-02",1,2,3,4,5);
12
12
select * from t1;
13
 
select t1.time+0,t1.date+0,t1.timestamp+0,concat(date," ",time),
 
13
select t1.date+0,t1.timestamp+0,
14
14
       t1.quarter+t1.week, t1.year+timestampadd,  timestampdiff from t1;
15
15
drop table t1;
16
16
create table events(binlog int);