~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_default.test

  • Committer: Toru Maesaka
  • Date: 2008-12-17 07:16:37 UTC
  • mto: (685.1.40 devel) (713.1.5 devel)
  • mto: This revision was merged to the branch mainline in revision 713.
  • Revision ID: dev@torum.net-20081217071637-7j9040w7lpms77r2
Removed my_time() and added error checking

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;