mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-7779 View definition changes upon creation.
Fixed by using POINT instead of ST_POINT in the item. Later need to fix that with proper ST_POINT implementation
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t1, gis_point, gis_line, gis_polygon, gis_multi_point, gis_multi_line, gis_multi_polygon, gis_geometrycollection, gis_geometry;
|
||||
DROP VIEW IF EXISTS v1;
|
||||
--enable_warnings
|
||||
|
||||
CREATE TABLE gis_point (fid INTEGER NOT NULL PRIMARY KEY, g POINT);
|
||||
@ -1470,4 +1471,12 @@ drop table t1;
|
||||
#
|
||||
SELECT st_astext(ST_Buffer(ST_PolygonFromText('POLYGON((3 5, 2 4, 2 5, 3 5))'), -100));
|
||||
|
||||
--echo End of 5.5 tests
|
||||
#
|
||||
# MDEV-7779 View definition changes upon creation
|
||||
#
|
||||
CREATE VIEW v1 AS SELECT POINT(1,1) AS p;
|
||||
SHOW CREATE VIEW v1;
|
||||
SELECT ASTEXT(p) FROM v1;
|
||||
DROP VIEW v1;
|
||||
|
||||
# --echo End of 5.5 tests
|
||||
|
Reference in New Issue
Block a user