mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 11.2 into 11.4
This commit is contained in:
@ -408,7 +408,10 @@ select (ST_asWKT(ST_geomfromwkb((0x010100000000000000000024400000000000002440)))
|
||||
--enable_metadata
|
||||
create table t1 (g GEOMETRY);
|
||||
select * from t1;
|
||||
#Check after fix MDEV-31540
|
||||
--disable_cursor_protocol
|
||||
select ST_asbinary(g) from t1;
|
||||
--enable_cursor_protocol
|
||||
--disable_metadata
|
||||
--enable_view_protocol
|
||||
drop table t1;
|
||||
|
@ -398,11 +398,14 @@ select (ST_asWKT(ST_geomfromwkb((0x000000000140240000000000004024000000000000)))
|
||||
select (ST_asWKT(ST_geomfromwkb((0x010100000000000000000024400000000000002440)))) AS val;
|
||||
|
||||
--disable_view_protocol
|
||||
#check after fix MDEV-31540
|
||||
--disable_cursor_protocol
|
||||
--enable_metadata
|
||||
create table t1 (g GEOMETRY);
|
||||
select * from t1;
|
||||
select ST_asbinary(g) from t1;
|
||||
--disable_metadata
|
||||
--enable_cursor_protocol
|
||||
--enable_view_protocol
|
||||
drop table t1;
|
||||
|
||||
@ -1440,7 +1443,9 @@ SELECT ST_Union('', ''), md5(1);
|
||||
--echo # fields after MDEV-25459
|
||||
--echo #
|
||||
CREATE TABLE t1(l LINESTRING NOT NULL, SPATIAL INDEX(l))ENGINE=InnoDB;
|
||||
--disable_cursor_protocol
|
||||
SELECT GROUP_CONCAT(CONCAT(seq, ' ', seq) SEPARATOR ',') INTO @g FROM seq_0_to_504;
|
||||
--enable_cursor_protocol
|
||||
INSERT INTO t1 SET l=ST_GeomFromText(CONCAT('LINESTRING(',@g,',0 0)'));
|
||||
SELECT COUNT(*) FROM t1 WHERE MBRIntersects(GeomFromText('Polygon((0 0,0 10,10 10,10 0,0 0))'), l);
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user