Commit fccbe2bf authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

fix tests

parent 50b27052
......@@ -2250,11 +2250,14 @@ Warnings:
Warning 1292 Truncated incorrect max_sort_length value: '4'
CREATE TEMPORARY TABLE t1(c INET6,d DATE);
INSERT INTO t1 VALUES(0,0);
ERROR HY000: Illegal parameter data types inet6 and int for operation 'SET'
Warnings:
Warning 4078 Cannot cast 'int' as 'inet6' in assignment of `test`.`t1`.`c`
Warning 1292 Incorrect inet6 value: '0' for column `test`.`t1`.`c` at row 1
INSERT INTO t1 VALUES('::',0);
SELECT c FROM t1 ORDER BY c;
c
::
::
DROP TABLE t1;
SET max_sort_length=DEFAULT;
SET sql_mode=DEFAULT;
......
......@@ -1652,7 +1652,6 @@ DROP TABLE t1, t2;
SET sql_mode='';
SET @@SESSION.max_sort_length=4;
CREATE TEMPORARY TABLE t1(c INET6,d DATE);
--error ER_ILLEGAL_PARAMETER_DATA_TYPES2_FOR_OPERATION
INSERT INTO t1 VALUES(0,0);
INSERT INTO t1 VALUES('::',0);
SELECT c FROM t1 ORDER BY c;
......
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