Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show create table fails on default value of POINT() function #3228

Closed
jennifersp opened this issue Apr 14, 2022 · 1 comment
Closed

show create table fails on default value of POINT() function #3228

jennifersp opened this issue Apr 14, 2022 · 1 comment
Assignees
Labels
dumps Deals with dumping to and from mysql

Comments

@jennifersp
Copy link
Contributor

jennifersp commented Apr 14, 2022

any action of table with POINT() function as column default value fails.

tp> CREATE TABLE `types_default` (
 ->   `pk` int NOT NULL,
 ->   `v12` geometry DEFAULT (point(1,2)),
 ->   PRIMARY KEY (`pk`)
 -> );
tp> show create table types_default;
Error parsing SQL
syntax error at position 16 near 'POINT'
SELECT (POINT(&{%!f(int8=1) {%!f(query.Type=257) [%!f(uint8=1)]} {%!f(query.Type=257)}}, &{%!f(int8=2) {%!f(query.Type=257) [%!f
@jennifersp jennifersp added the dumps Deals with dumping to and from mysql label Apr 14, 2022
@VinaiRachakonda
Copy link
Contributor

Let's fix this asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dumps Deals with dumping to and from mysql
Projects
None yet
Development

No branches or pull requests

3 participants