~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/keywords.test

  • Committer: Monty Taylor
  • Date: 2010-07-09 14:06:50 UTC
  • Revision ID: mordred@inaugust.com-20100709140650-ojeih829v3wbdkyv
Added include guard for generator.h to make cpplint happy.

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 (date_arg date, timestamp_arg timestamp,
 
9
create table t1 (date date, timestamp timestamp,
10
10
quarter int, week int, year int, timestampadd int, timestampdiff int);
11
11
insert into t1 values ("97/02/03","1997-01-02",1,2,3,4,5);
12
12
select * from t1;
13
 
select t1.date_arg+0, t1.timestamp_arg+0,
 
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);