You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kndol opened this issue
Mar 26, 2019
· 5 comments
· Fixed by #16330
Assignees
Labels
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Hey @williamdes
I checked into the issue and found that typing 'POINT(1 2)',0 into the text field produces the error but if POINT(1 2),0 is typed there is no error. So how should we proceed with the issue?
@ShailuJain If all MySQL and MariaDB versions agree that POINT(1 2),0 is a valid syntax then we can safely remove the quotes
If you find some documentation can you post it here ?
In my opinion if POINT(1 2),1 is given the executing query will be INSERT INTO table_name (id, shape) VALUES (NULL, ST_GeomFromText('POINT(1 2),0'))
which is a valid query and if given 'POINT(1 2)',1, INSERT INTO table_name (id, shape) VALUES (NULL, ST_GeomFromText('\'POINT(1 2)\',0'))
is produced which is why this error is produced. But then too if a find some documentation i will post it here.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
ST_GeomFromText('POINT(longitude latitude)', srid)is a correct query.
But phpmyadmin makes query with
ST_GeomFromText('\'POINT(longitude latitude)\', srid'), and the result is null.
The text was updated successfully, but these errors were encountered: