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

Mysql glitch with ST_Within() =1 #212

Closed
felp302 opened this issue Sep 18, 2020 · 1 comment
Closed

Mysql glitch with ST_Within() =1 #212

felp302 opened this issue Sep 18, 2020 · 1 comment

Comments

@felp302
Copy link

felp302 commented Sep 18, 2020

Mysql has a glitch that if ST_Within() = 1 no indexes will be used while just ST_Within() works fine.
https://bugs.mysql.com/bug.php?id=76384
However on DQL createQuery query if you use only "WHERE ST_Within( l.point, $areaToSearch )" it will return:

Notice: Trying to access array offset on value of type null
at vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:2536

Is there an way to allow the DQL parameter to not have an equal parameter from the extension?

@felp302 felp302 closed this as completed Sep 18, 2020
@felp302
Copy link
Author

felp302 commented Sep 18, 2020

duplicate #178

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

No branches or pull requests

1 participant