Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
MIN and MAX do not preserve the GEOMETRY and create a LONGBLOB instead:
CREATE OR REPLACE TABLE t1 AS SELECT MAX(POINT(1,1)) AS p; |
SHOW CREATE TABLE t1; |
CREATE OR REPLACE TABLE t1 AS SELECT MAX((SELECT POINT(1,1))) AS p; |
SHOW CREATE TABLE t1; |
Both return:
+-------+---------------------------------------------------------------------------+
|
| Table | Create Table |
|
+-------+---------------------------------------------------------------------------+
|
| t1 | CREATE TABLE `t1` (
|
`p` longblob
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
|
+-------+---------------------------------------------------------------------------+
|
Attachments
Issue Links
- relates to
-
MDEV-9425 Hybrid functions and UNION do not preserve spatial REF_SYSTEM_ID
- Confirmed
-
MDEV-9405 SP do not preserve geometry type
- Closed
-
MDEV-11304 SP do not preserve SRID
- Confirmed