mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge tag '11.4' into 11.6
MariaDB 11.4.4 release
This commit is contained in:
@ -5435,8 +5435,25 @@ AsText(g)
|
||||
POINT(1 1)
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# End of 10.5 tests
|
||||
# MDEV-16699 heap-use-after-free in group_concat with compressed or GIS columns
|
||||
#
|
||||
create table t1 (c polygon);
|
||||
insert into t1 values
|
||||
(PolygonFromText('POLYGON((1 2,1 2))')),
|
||||
(PolygonFromText('POLYGON((0 0,1 1,0 0))'));
|
||||
select length(group_concat(c, c order by 1,2)) from t1;
|
||||
length(group_concat(c, c order by 1,2))
|
||||
229
|
||||
create table t2 as select group_concat(c, c order by 1,2), concat(c), c from t1;
|
||||
show create table t2;
|
||||
Table Create Table
|
||||
t2 CREATE TABLE `t2` (
|
||||
`group_concat(c, c order by 1,2)` mediumblob DEFAULT NULL,
|
||||
`concat(c)` longblob DEFAULT NULL,
|
||||
`c` polygon DEFAULT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
drop table t1, t2;
|
||||
# End of 10.5 tests
|
||||
#
|
||||
# Start of 11.5 tests
|
||||
#
|
||||
@ -5507,6 +5524,4 @@ CREATE TABLE t1 (a INT, b POINT GENERATED ALWAYS AS (a));
|
||||
ERROR HY000: Cannot cast 'int' as 'point' in assignment of `test`.`t1`.`b`
|
||||
CREATE TABLE t1 (a POINT, b INT GENERATED ALWAYS AS (a));
|
||||
ERROR HY000: Cannot cast 'point' as 'int' in assignment of `test`.`t1`.`b`
|
||||
#
|
||||
# End of 11.5 tests
|
||||
#
|
||||
|
Reference in New Issue
Block a user