~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/t/type_date.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-11-12 12:26:01 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101112122601-myppfj3tfmlkccuq
Tags: upstream-2010.11.03
ImportĀ upstreamĀ versionĀ 2010.11.03

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
select @d:=011111;
118
118
select year(@d), month(@d), day(@d), cast(@d as date);
119
119
select @d:=1311;
120
 
--error 1686 # Invalid datetime of 1311
 
120
--error ER_INVALID_DATETIME_VALUE # Invalid datetime of 1311
121
121
select year(@d), month(@d), day(@d), cast(@d as date);
122
122
create table t1 (d  date , dt datetime , ts timestamp);
123
123
-- error 1686 # Bad dates