Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Crash on null arguments #2

Open
MarSoft opened this issue Jul 7, 2015 · 1 comment
Open

Crash on null arguments #2

MarSoft opened this issue Jul 7, 2015 · 1 comment

Comments

@MarSoft
Copy link

MarSoft commented Jul 7, 2015

Hello. I use MariaDB 10.0.20. I installed this great plugin. It works fine, but if any of input parameters is NULL, my MariaDB server restarts and I get «ERROR 2013 (HY000): Lost connection to MySQL server during query» error.
For now I added a workaround with additional «WHERE lat IS NOT NULL AND lon IS NOT NULL and ...» for all lat&lons. But I think it would be great to add such checking to the function itself.

@MarSoft
Copy link
Author

MarSoft commented Jul 7, 2015

Or probably make it return NULL if any of arguments is NULL, like built-in GLength function does.

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

No branches or pull requests

1 participant