Commit 204559cd authored by gkodinov/kgeorge@magare.gmz's avatar gkodinov/kgeorge@magare.gmz

Merge magare.gmz:/home/kgeorge/mysql/work/B27513-5.0-opt

into  magare.gmz:/home/kgeorge/mysql/autopush/B27513-5.0-opt
parents 41ac6776 b530ae54
...@@ -28,21 +28,16 @@ ERROR 42000: Display width out of range for column 'a' (max = 255) ...@@ -28,21 +28,16 @@ ERROR 42000: Display width out of range for column 'a' (max = 255)
set sql_mode='traditional'; set sql_mode='traditional';
create table t1 (a varchar(66000)); create table t1 (a varchar(66000));
ERROR 42000: Column length too big for column 'a' (max = 65535); use BLOB or TEXT instead ERROR 42000: Column length too big for column 'a' (max = 65535); use BLOB or TEXT instead
set sql_mode=default;
CREATE TABLE t1 (a INT); CREATE TABLE t1 (a INT);
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0))); SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
a a
Warnings:
Error 1365 Division by 0
INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(1);
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0))); SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
a a
1 1
Warnings:
Error 1365 Division by 0
INSERT INTO t1 VALUES(2),(3); INSERT INTO t1 VALUES(2),(3);
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0))); SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
a a
1 1
Warnings:
Error 1365 Division by 0
DROP TABLE t1; DROP TABLE t1;
...@@ -40,6 +40,7 @@ create table t1 (a int(256)); ...@@ -40,6 +40,7 @@ create table t1 (a int(256));
set sql_mode='traditional'; set sql_mode='traditional';
--error 1074 --error 1074
create table t1 (a varchar(66000)); create table t1 (a varchar(66000));
set sql_mode=default;
# #
# Bug #27513: mysql 5.0.x + NULL pointer DoS # Bug #27513: mysql 5.0.x + NULL pointer DoS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment