~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/group_by.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:
8
8
lsg char(40),
9
9
date date
10
10
);
11
 
INSERT INTO t1 VALUES (1,1,1,'','0000-00-00');
12
 
INSERT INTO t1 VALUES (2,2,2,'','0000-00-00');
13
 
INSERT INTO t1 VALUES (2,1,1,'','0000-00-00');
14
 
INSERT INTO t1 VALUES (3,3,3,'','0000-00-00');
 
11
INSERT INTO t1 VALUES (1,1,1,'',NULL);
 
12
INSERT INTO t1 VALUES (2,2,2,'',NULL);
 
13
INSERT INTO t1 VALUES (2,1,1,'',NULL);
 
14
INSERT INTO t1 VALUES (3,3,3,'',NULL);
15
15
CREATE TABLE t2 (
16
16
userID int NOT NULL auto_increment,
17
17
niName char(15),
60
60
drop table t1,t2;
61
61
CREATE TABLE t1 (
62
62
PID int NOT NULL auto_increment,
63
 
payDate date DEFAULT '0000-00-00' NOT NULL,
 
63
payDate date,
64
64
recDate datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
65
65
URID int DEFAULT '0' NOT NULL,
66
66
CRID int DEFAULT '0' NOT NULL,