Skip to content

Add geometry typecast test #1784

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

Closed
wants to merge 1 commit into from
Closed

Add geometry typecast test #1784

wants to merge 1 commit into from

Conversation

sidorares
Copy link
Owner

this is a fork of #1428, investigating mysql 5.7 failures

@wellwelwel
Copy link
Collaborator

wellwelwel commented Jan 24, 2024

investigating mysql 5.7 failures

@sidorares and @testn, it's because of the SRID 0 in:

CREATE TEMPORARY TABLE geom_test (p POINT SRID 0, g GEOMETRY NOT NULL SRID 0);

By removing the SRID, it will work:

CREATE TEMPORARY TABLE geom_test (p POINT, g GEOMETRY NOT NULL);
  • When we don't specify a SRID, MySQL will assume the points to be 0 by default.

Screenshot 2024-01-23 at 23 16 49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants