icingaweb2/library
Eric Lippmann b20291a606 Fix double query execution
Our monitoring list views call SimpleQuery::hasResult() first in
order to determine whether there are results to display. This calls
fetchRow() which executes the underlying query the first time. If there
are resulsts, the query is iterated which executes the query again.
With this patch, SimpleQuery::hasResult() makes use of the inner
iterator instead of calling fetchRow(). The query is now executed only
once.
2019-06-27 15:11:45 +02:00
..
Icinga Fix double query execution 2019-06-27 15:11:45 +02:00
vendor Upload: do not fail on PHP 7.2 2019-02-20 05:41:23 +01:00