~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_sapdb.test

  • Committer: Lee Bieber
  • Date: 2010-08-26 21:56:15 UTC
  • mto: (1733.1.1 build) (1734.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1734.
  • Revision ID: lbieber@kalebral-2.local-20100826215615-98moemwu1u9u9x4y
change tests to use enum values instead of error numbers

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
select datediff("1997-11-30 23:59:59.000001","1997-12-31");
34
34
 
35
35
# This will give an error
36
 
--error 1686 # Bad datetime
 
36
--error ER_INVALID_DATETIME_VALUE # Bad datetime
37
37
select datediff("1997-11-31 23:59:59.000001","1997-12-31");
38
38
select datediff("1997-11-30 23:59:59.000001",null);
39
39