Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Cannot Reproduce
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
Description
DROP FUNCTION IF EXISTS f1; |
CREATE FUNCTION f1() RETURNS POINT RETURN POINT(1,1); |
DROP TABLE IF EXISTS t1; |
CREATE TABLE t1 SELECT f1() AS a; |
SHOW CREATE TABLE t1; |
returns
+-------+----------------------------------------------------------------------------------------+
|
| Table | Create Table |
|
+-------+----------------------------------------------------------------------------------------+
|
| t1 | CREATE TABLE `t1` (
|
`a` geometry DEFAULT NULL
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
|
+-------+----------------------------------------------------------------------------------------+
|
The expected column type is POINT.
Attachments
Issue Links
- relates to
-
MDEV-9425 Hybrid functions and UNION do not preserve spatial REF_SYSTEM_ID
- Confirmed
-
MDEV-11303 MIN and MAX do not preserve GEOMETRY data type
- Closed
-
MDEV-11304 SP do not preserve SRID
- Confirmed
-
MDEV-12560 Wrong data type for SELECT NULL UNION SELECT Point(1,1)
- Closed
-
MDEV-12665 Hybrid functions do not preserve geometry type
- Closed
-
MDEV-12668 SRID is not preserved in UNION, VIEW, MIN, MAX
- Closed