~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/keywords.result

  • Committer: Jay Pipes
  • Date: 2009-02-11 02:30:38 UTC
  • mto: (873.2.13 devel)
  • mto: This revision was merged to the branch mainline in revision 877.
  • Revision ID: jpipes@serialcoder-20090211023038-203wrshtyrufboko
Fixes the Field_date class to not allow any invalid input at
any time.  This, quite expectedly, broken about 20 test cases, so
this patches up those cases as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
drop table if exists t1;
2
2
create table t1 (time time, date date, timestamp timestamp,
3
3
quarter int, week int, year int, timestampadd int, timestampdiff int);
4
 
insert into t1 values ("12:22:22","97:02:03","1997-01-02",1,2,3,4,5);
 
4
insert into t1 values ("12:22:22","97/02/03","1997-01-02",1,2,3,4,5);
5
5
select * from t1;
6
6
time    date    timestamp       quarter week    year    timestampadd    timestampdiff
7
7
12:22:22        1997-02-03      1997-01-02 00:00:00     1       2       3       4       5