~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/date_formats.test

  • Committer: Jay Pipes
  • Date: 2009-01-29 22:22:50 UTC
  • mto: This revision was merged to the branch mainline in revision 830.
  • Revision ID: jpipes@serialcoder-20090129222250-buvsi8e6jxy4j8bp
Fixed date_formats.test which was failing due to an invalid datetime that is now being properly caught.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
       str_to_date("02 10:11:12", "%d %H:%i:%S") as f5,
259
259
       str_to_date("02 10", "%d %f") as f6;
260
260
drop table t1, t2;
 
261
--error 1686 # These are bad datetimes...
261
262
select str_to_date("2003-01-02 10:11:12.0012ABCD", "%Y-%m-%d %H:%i:%S.%f") as f1,
262
263
       addtime("-01:01:01.01 GGG", "-23:59:59.1") as f2,
263
264
       microsecond("1997-12-31 23:59:59.01XXXX") as f3;