~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_default.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:
25
25
#
26
26
CREATE TABLE t1 (id int, s varchar(20));
27
27
INSERT INTO t1 VALUES (1, 'one'), (2, 'two'), (3, 'three');
28
 
--error 1364
 
28
--error ER_NO_DEFAULT_FOR_FIELD
29
29
SELECT s, 32 AS mi FROM t1 GROUP BY s HAVING DEFAULT(mi) IS NULL;
30
30
DROP TABLE t1;
31
31