mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@ -1032,9 +1032,9 @@ SET @a=0x00000000030000000000000000000000000000000000144000000000000014400000000
|
||||
SET @a=ST_POLYFROMWKB(@a);
|
||||
create table t1(a polygon NOT NULL)engine=innodb;
|
||||
insert into t1 values (ST_geomfromtext("point(0 1)"));
|
||||
ERROR 22007: Incorrect POLYGON value: 'POINT' for column 'a' at row 1
|
||||
ERROR 22007: Incorrect POLYGON value: 'POINT' for column `test`.`t1`.`a` at row 1
|
||||
insert into t1 values (ST_geomfromtext("point(1 0)"));
|
||||
ERROR 22007: Incorrect POLYGON value: 'POINT' for column 'a' at row 1
|
||||
ERROR 22007: Incorrect POLYGON value: 'POINT' for column `test`.`t1`.`a` at row 1
|
||||
select * from (select polygon(t1.a) as p from t1 order by t1.a) d;
|
||||
p
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user