Skip to content

Add geometry typecast test #1428

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

Conversation

testn
Copy link
Contributor

@testn testn commented Oct 17, 2021

Add addition typecast tests for geometry

@testn testn force-pushed the add-geo-typecast-test branch from 171ec96 to 63a4640 Compare October 17, 2021 12:23
@testn
Copy link
Contributor Author

testn commented Oct 18, 2021

@sidorares any idea why geo stuff is broken in 5.7? I couldn't find any related release notes.

@sidorares
Copy link
Owner

don't know unfortunately, need to investigate

@sidorares sidorares added this to the 3.0.0 milestone Nov 11, 2022
@sidorares sidorares removed this from the 3.0.0 milestone Jan 12, 2023
@sidorares
Copy link
Owner

@testn it fails at CREATE TEMPORARY TABLE geom_test (p POINT SRID 0, g GEOMETRY NOT NULL SRID 0) query, I assume this is newer syntax and 5.7 server does not understand it

I can't see geometry types in https://dev.mysql.com/doc/refman/5.7/en/data-types.html
( there are geometry functions though - https://dev.mysql.com/doc/refman/5.7/en/functions.html )

We could check server version and skip the test if 5.7 or earlier, or somehow feature detect via sql

@sidorares
Copy link
Owner

@testn
Copy link
Contributor Author

testn commented Jan 14, 2023

oh sure... let me do that

@wellwelwel
Copy link
Collaborator

Closing due to #2395.

Thanks, @testn 🙋🏻‍♂️

@wellwelwel wellwelwel closed this Jan 24, 2024
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