~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/keywords.test

  • Committer: Brian Aker
  • Date: 2010-10-27 21:00:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1886.
  • Revision ID: brian@tangent.org-20101027210049-zfpgx2cfbrh8maq9
A couple of fixes to documentation.

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);