~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_date_add.test

  • Committer: Monty Taylor
  • Date: 2010-08-03 18:21:58 UTC
  • mto: (1680.2.6 build)
  • mto: This revision was merged to the branch mainline in revision 1683.
  • Revision ID: mordred@inaugust.com-20100803182158-nkmgnlohodud4290
Made existence of intltool and gettext optional.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
insert into t1 values (date_add('2000-01-04', INTERVAL NULL DAY));
56
56
# These will all work now, and we'll end up with some NULL entries in the
57
57
# table and some warnings.
58
 
--error ER_DATETIME_FUNCTION_OVERFLOW
 
58
--error 1441
59
59
insert into t1 (d) select date_sub('2000-01-01', INTERVAL 2001 YEAR);
60
 
--error ER_DATETIME_FUNCTION_OVERFLOW
 
60
--error 1441
61
61
insert into t1 (d) select date_add('2000-01-01',interval 8000 year);
62
62
insert into t1 values (date_add(NULL, INTERVAL 1 DAY));
63
63
insert into t1 values (date_add('2000-01-04', INTERVAL NULL DAY));