mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Additional fix for bug #12267 (Can't use POINT for primary key)
This commit is contained in:
@ -682,6 +682,9 @@ POINT(1 1)
|
||||
drop function fn3;
|
||||
create table t1(pt POINT);
|
||||
alter table t1 add primary key pti(pt);
|
||||
drop table t1;
|
||||
create table t1(pt GEOMETRY);
|
||||
alter table t1 add primary key pti(pt);
|
||||
ERROR 42000: BLOB/TEXT column 'pt' used in key specification without a key length
|
||||
alter table t1 add primary key pti(pt(20));
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user