mapserver/mapserver — pull request #4932 by mkofahl (2014-05-28 22:07:33+00:00)
Title: Make queryByIndex() working with dbms.

For data sources with inconsistent row numbers, queryByIndex should not set a resultindex. The resultindex is read from the row number of the result set which is likely to have a single row when working with databases. Only shape files are considered to have consistent row numbers and may be read form the result cache.