Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
DROP TABLE IF EXISTS t1;
|
CREATE TABLE t1 (g GEOMETRY REF_SYSTEM_ID=101);
|
DROP TABLE IF EXISTS t2;
|
CREATE TABLE t2 AS SELECT g AS g_column, COALESCE(g) AS g_coalesce FROM t1;
|
DROP TABLE IF EXISTS t3;
|
CREATE TABLE t3 AS SELECT g AS g_union FROM t1 UNION SELECT g FROM t1;
|
SELECT G_TABLE_NAME, G_GEOMETRY_COLUMN, SRID FROM INFORMATION_SCHEMA.GEOMETRY_COLUMNS;
|
returns
+--------------+-------------------+------+
|
| G_TABLE_NAME | G_GEOMETRY_COLUMN | SRID |
|
+--------------+-------------------+------+
|
| t1 | g | 101 |
|
| t2 | g_column | 101 |
|
| t2 | g_coalesce | 0 |
|
| t3 | g_union | 0 |
|
+--------------+-------------------+------+
|
Notice, g_column preserved the original REF_SYSTEM_ID, which is correct.
More complex cases (e.g. g_coalesce and g_union) did not, as they should.
Attachments
Issue Links
- relates to
-
MDEV-4912 Data type plugin API version 1
-
- Closed
-
-
MDEV-12668 SRID is not preserved in UNION, VIEW, MIN, MAX
-
- Closed
-
-
MDEV-9405 SP do not preserve geometry type
-
- Closed
-
-
MDEV-11303 MIN and MAX do not preserve GEOMETRY data type
-
- Closed
-
-
MDEV-11304 SP do not preserve SRID
-
- Confirmed
-
Activity
Link |
This issue relates to |
Link | This issue relates to MDEV-11304 [ MDEV-11304 ] |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.2 [ 14601 ] |
Affects Version/s | 10.3 [ 22126 ] | |
Affects Version/s | 10.4 [ 22408 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.3 [ 22126 ] |
Component/s | Data types [ 13906 ] |
Epic Link | MDEV-21071 [ 80504 ] |
Workflow | MariaDB v3 [ 73655 ] | MariaDB v4 [ 139934 ] |
Link |
This issue relates to |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Fix Version/s | 11.2 [ 28603 ] | |
Fix Version/s | 11.4 [ 29301 ] | |
Fix Version/s | 10.4(EOL) [ 22408 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Fix Version/s | 11.2(EOL) [ 28603 ] |
repeatable on 10.5-11.4, while 11.6 4e1e9ea6f322dd8 returns expected results