mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Bug #27513: test case added to make sure this
crash bug doesn't reappear. mysql-test/r/errors.result: Bug #27513: test case mysql-test/t/errors.test: Bug #27513: test case
This commit is contained in:
parent
d03c7d2d28
commit
7bf304a6bd
2 changed files with 29 additions and 0 deletions
|
|
@ -28,3 +28,21 @@ ERROR 42000: Display width out of range for column 'a' (max = 255)
|
|||
set sql_mode='traditional';
|
||||
create table t1 (a varchar(66000));
|
||||
ERROR 42000: Column length too big for column 'a' (max = 65535); use BLOB or TEXT instead
|
||||
CREATE TABLE t1 (a INT);
|
||||
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
|
||||
a
|
||||
Warnings:
|
||||
Error 1365 Division by 0
|
||||
INSERT INTO t1 VALUES(1);
|
||||
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
|
||||
a
|
||||
1
|
||||
Warnings:
|
||||
Error 1365 Division by 0
|
||||
INSERT INTO t1 VALUES(2),(3);
|
||||
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
|
||||
a
|
||||
1
|
||||
Warnings:
|
||||
Error 1365 Division by 0
|
||||
DROP TABLE t1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue