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

msMSSQL2008LayerGetExtent doesn't consider NATIVE_FILTER or translated filter #6076

Closed
szekerest opened this issue May 25, 2020 · 0 comments · Fixed by #6078
Closed

msMSSQL2008LayerGetExtent doesn't consider NATIVE_FILTER or translated filter #6076

szekerest opened this issue May 25, 2020 · 0 comments · Fixed by #6078
Assignees
Labels
backport branch-7-6 To backport a pull request to branch-7-6

Comments

@szekerest
Copy link
Member

The postgis and the oracle drivers limit the extent query within the specified filter (either by using NATIVE_FILTER or translated filter). We should also establish the same option for the mssql driver.

Also msMSSQL2008LayerGetExtent causes a crash if the queries return null values. ie. when SQLGetData return -1 in the retLen parameter.

@szekerest szekerest self-assigned this May 25, 2020
@jmckenna jmckenna added the backport branch-7-6 To backport a pull request to branch-7-6 label May 25, 2020
szekerest added a commit to szekerest/mapserver that referenced this issue May 27, 2020
jmckenna added a commit that referenced this issue May 28, 2020
msMSSQL2008LayerGetExtent doesn't consider NATIVE_FILTER or translated filter (#6076)
MapServer-backport-bot pushed a commit to MapServer-backport-bot/MapServer that referenced this issue May 28, 2020
jmckenna added a commit that referenced this issue May 28, 2020
…-branch-7-6

[Backport branch-7-6] msMSSQL2008LayerGetExtent doesn't consider NATIVE_FILTER or translated filter (#6076)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport branch-7-6 To backport a pull request to branch-7-6
Projects
None yet
2 participants