mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
reject invalid spatial key declarations in the parser
This commit is contained in:
@@ -1075,15 +1075,6 @@ col0 INTEGER NOT NULL,
|
||||
col1 POINT,
|
||||
col2 POINT
|
||||
);
|
||||
CREATE SPATIAL INDEX idx0 ON t2 (col1, col2);
|
||||
ERROR HY000: Incorrect arguments to SPATIAL INDEX
|
||||
CREATE TABLE t3 (
|
||||
col0 INTEGER NOT NULL,
|
||||
col1 POINT,
|
||||
col2 LINESTRING,
|
||||
SPATIAL INDEX i1 (col1, col2)
|
||||
);
|
||||
ERROR HY000: Incorrect arguments to SPATIAL INDEX
|
||||
DROP TABLE t0, t1, t2;
|
||||
#
|
||||
# BUG#12414917 - ST_ISCLOSED() CRASHES ON 64-BIT BUILDS
|
||||
|
Reference in New Issue
Block a user