~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_in_null_scan.test

  • Committer: Stewart Smith
  • Date: 2009-10-19 03:27:43 UTC
  • mto: This revision was merged to the branch mainline in revision 1188.
  • Revision ID: stewart@flamingspork.com-20091019032743-xajbflq0ktpe9vw2
remove --disable-warnings in func_in_null_scan.test

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
--echo # Bug #44139: Table scan when NULL appears in IN clause
4
4
--echo #
5
5
 
6
 
--disable_warnings
7
 
 
8
6
CREATE TEMPORARY TABLE t1 (
9
7
  c_int INT NOT NULL,
10
8
  c_decimal DECIMAL(5,2) NOT NULL DEFAULT 0,
24
22
INSERT INTO t1 (c_int) SELECT 0 FROM t2;
25
23
DROP TABLE t2;
26
24
 
27
 
--enable_warnings
28
 
 
29
25
EXPLAIN SELECT * FROM t1 WHERE c_int IN (1, 2, 3);
30
26
EXPLAIN SELECT * FROM t1 WHERE c_int IN (NULL, 1, 2, 3);
31
27