~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_default.test

  • Committer: Brian Aker
  • Date: 2008-10-13 20:24:22 UTC
  • Revision ID: brian@tangent.org-20081013202422-hjbv31zsnov5arq4
Adding back more test cases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#
24
24
# Bug #11314 (HAVING DEFAULT() hangs)
25
25
#
26
 
CREATE TABLE t1 (id int(11), s varchar(20));
 
26
CREATE TABLE t1 (id int, s varchar(20));
27
27
INSERT INTO t1 VALUES (1, 'one'), (2, 'two'), (3, 'three');
28
28
--error 1364
29
29
SELECT s, 32 AS mi FROM t1 GROUP BY s HAVING DEFAULT(mi) IS NULL;