~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/range.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, t2, t3;
2
2
CREATE TABLE t1 (
3
 
event_date date DEFAULT '0000-00-00' NOT NULL,
 
3
event_date date NULL,
4
4
type int DEFAULT '0' NOT NULL,
5
5
event_id int DEFAULT '0' NOT NULL,
6
6
PRIMARY KEY (event_date,type,event_id)
49
49
YEAR int DEFAULT '0' NOT NULL,
50
50
ISSUE int DEFAULT '0' NOT NULL,
51
51
CLOSED int DEFAULT '0' NOT NULL,
52
 
ISS_DATE date DEFAULT '0000-00-00' NOT NULL,
 
52
ISS_DATE date,
53
53
PRIMARY KEY (PAPER_ID,YEAR,ISSUE)
54
54
);
55
55
INSERT INTO t1 VALUES (3,1999,34,0,'1999-07-12'), (1,1999,111,0,'1999-03-23'),