#26657: MySQL 5.7 GIS test failures: InterfaceError: (-1, 'error totally whack') ---------------------------+------------------------------------ Reporter: timgraham | Owner: nobody Type: Bug | Status: new Component: GIS | Version: 1.9 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------+------------------------------------ Changes (by timgraham):
* cc: claudep (added) Comment: From the [https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-7.html#mysqld-5-7-7 -spatial-support MySQL 5.7 release notes]: The `ST_Buffer()`, `ST_Difference()`, `ST_Distance()`, `ST_Intersection()`, `ST_IsSimple()`, `ST_SymDifference()`, and `ST_Union()` functions have been reimplemented to use the functionality available in `Boost.Geometry`. The functions may raise an exception for invalid geometry argument values when the previous implementation may not have. An example failing query from `gis_tests.geoapp.test_functions.GISFunctionsTests.test_union`: {{{ #!sql SELECT geoapp_city.id, geoapp_city.name, AsText(geoapp_city.point), AsText(ST_Union(geoapp_city.point, GeomFromText('POINT (-95.3631510000000020 29.7633739999999989)', 4326))) AS union FROM geoapp_city WHERE geoapp_city.name = 'Dallas' }}} A minimal query to reproduce is: {{{ #!sql SELECT ST_Union(geoapp_city.point, ST_GeomFromText('POINT (-95.3631510 29.763373999)', 4326)) FROM geoapp_city }}} Any advice, Claude? -- Ticket URL: <https://code.djangoproject.com/ticket/26657#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.a48a889b53f6d051377d8069c6b7014a%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.