~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/join.test

  • Committer: Jay Pipes
  • Date: 2009-02-11 04:11:47 UTC
  • mto: (873.2.13 devel)
  • mto: This revision was merged to the branch mainline in revision 878.
  • Revision ID: jpipes@serialcoder-20090211041147-f3xizbt3xo2r8n33
Fixed Field_datetime to never accept any bad datetimes as a string.  This broke
dozen or so test cases of course, which are riddled with 0000-00-00 00:00:00 crap.

Also, probably against my better judgment, I added the ability to match a string
in the following datetime expression:

YY-MM-DD HH:mm:SS

I say against my better judgment because it looks similar to the ISO 8601:1988 standard
format specifier, but is NOT since ISO always expects a 4-digit year.  But, to be compatible
with MySQL...

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
  count int DEFAULT '0' NOT NULL,
68
68
  qty int,
69
69
  phone char(1) DEFAULT '' NOT NULL,
70
 
  timestamp datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
 
70
  timestamp datetime,
71
71
  PRIMARY KEY (id),
72
72
  KEY token (token(15)),
73
73
  KEY timestamp (timestamp),