~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/errors.test

  • Committer: Brian Aker
  • Date: 2010-09-13 21:43:18 UTC
  • mto: (1768.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1770.
  • Revision ID: brian@tangent.org-20100913214318-b5tdvn64qvtvybnj
Use full path for opening up directory files when checking for types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
# Bug #27513: mysql 5.0.x + NULL pointer DoS
45
45
#
46
46
CREATE TABLE t1 (a INT);
47
 
--error ER_DIVISION_BY_ZERO
48
47
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
49
48
INSERT INTO t1 VALUES(1);
50
 
--error ER_DIVISION_BY_ZERO
51
49
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
52
50
INSERT INTO t1 VALUES(2),(3);
53
 
--error ER_DIVISION_BY_ZERO
54
51
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
55
52
DROP TABLE t1;
56
53