1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-19177: Geometry support by the partition feature.

Remove the limitation, add tests.
This commit is contained in:
Alexey Botchkov
2023-11-18 21:05:28 +04:00
parent bc6b6cf6a7
commit 9e76d94ef0
5 changed files with 221 additions and 4 deletions

View File

@ -1093,7 +1093,7 @@ PARTITION pNorth VALUES IN (10,20,30) ,
PARTITION pEast VALUES IN (40,50,60) ,
PARTITION pWest VALUES IN (70,80,100)
);
ERROR 42000: The storage engine for the table doesn't support GEOMETRY
ERROR HY000: A BLOB field is not allowed in partition function
#check start transaction commit & Rollback
START TRANSACTION;
DELETE FROM tab3;

View File

@ -648,7 +648,7 @@ CREATE TABLE child (id GEOMETRY, parent_id GEOMETRY,
) ENGINE=INNODB;
--echo #check partition table support
--error 1178
--error ER_BLOB_FIELD_IN_PART_FUNC_ERROR
CREATE TABLE emp2(
id GEOMETRY NOT NULL,
store_name VARCHAR(30),