~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/show_check.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:
144
144
type_char char(2),
145
145
type_varchar varchar(10),
146
146
type_timestamp timestamp not null,
147
 
type_date date not null default '0000-00-00',
 
147
type_date date,
148
148
type_time time not null default '00:00:00',
149
149
type_datetime datetime not null default '0000-00-00 00:00:00',
150
150
type_enum enum ('red', 'green', 'blue'),