diff options
author | unknown <hf@deer.(none)> | 2005-10-15 22:23:13 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2005-10-15 22:23:13 +0500 |
commit | c2b9856333492cb0cec495f50c884be92b75c918 (patch) | |
tree | 887efcf729ae0a457db2d828e44d131a9813650f /mysql-test/r/gis.result | |
parent | 56d85e2a03cfaa50939f8c5167f996b2a498770e (diff) | |
download | mariadb-git-c2b9856333492cb0cec495f50c884be92b75c918.tar.gz |
Additional fix for bug #12267 (Can't use POINT for primary key)
mysql-test/r/gis.result:
result fixed
mysql-test/t/gis.test:
testcase added
sql/sql_table.cc:
no need to specify keylength for Point type
sql/sql_yacc.yy:
no need to specify length for Point type
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r-- | mysql-test/r/gis.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result index 2748199efad..90857ecfc6d 100644 --- a/mysql-test/r/gis.result +++ b/mysql-test/r/gis.result @@ -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; |