mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
MDEV-4272 fix.
Incorrect NULL value handling in Item_func_conv_charset fixed.
This commit is contained in:
@@ -1502,11 +1502,6 @@ round(
|
||||
--connection default
|
||||
SET @@global.max_allowed_packet:= @tmp_max;
|
||||
--disconnect newconn
|
||||
|
||||
--echo #
|
||||
--echo # End of 5.5 tests
|
||||
--echo #
|
||||
|
||||
#
|
||||
# Bug#11765562 58545:
|
||||
# EXPORT_SET() CAN BE USED TO MAKE ENTIRE SERVER COMPLETELY UNRESPONSIVE
|
||||
@@ -1517,3 +1512,16 @@ SELECT @@global.max_allowed_packet;
|
||||
SELECT CHAR_LENGTH(EXPORT_SET(1,1,1,REPEAT(1,100000000)));
|
||||
SET @@global.max_allowed_packet:= @tmp_max;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-4272: DIV operator crashes in Item_func_int_div::val_int
|
||||
--echo # (incorrect NULL value handling by convert)
|
||||
--echo #
|
||||
create table t1(a int) select null;
|
||||
select 1 div convert(a using utf8) from t1;
|
||||
drop table t1;
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # End of 5.5 tests
|
||||
--echo #
|
||||
|
||||
|
||||
Reference in New Issue
Block a user