~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/group_by.test

  • 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:
22
22
  date date
23
23
);
24
24
 
25
 
INSERT INTO t1 VALUES (1,1,1,'','0000-00-00');
26
 
INSERT INTO t1 VALUES (2,2,2,'','0000-00-00');
27
 
INSERT INTO t1 VALUES (2,1,1,'','0000-00-00');
28
 
INSERT INTO t1 VALUES (3,3,3,'','0000-00-00');
 
25
INSERT INTO t1 VALUES (1,1,1,'',NULL);
 
26
INSERT INTO t1 VALUES (2,2,2,'',NULL);
 
27
INSERT INTO t1 VALUES (2,1,1,'',NULL);
 
28
INSERT INTO t1 VALUES (3,3,3,'',NULL);
29
29
 
30
30
CREATE TABLE t2 (
31
31
  userID int NOT NULL auto_increment,
62
62
 
63
63
CREATE TABLE t1 (
64
64
  PID int NOT NULL auto_increment,
65
 
  payDate date DEFAULT '0000-00-00' NOT NULL,
 
65
  payDate date,
66
66
  recDate datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
67
67
  URID int DEFAULT '0' NOT NULL,
68
68
  CRID int DEFAULT '0' NOT NULL,