icingaweb2/library/Icinga/Data
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
..
DataArray ArrayDatasource: Store any type of key as a key column's value 2019-04-16 13:26:48 +02:00
Db DbConnection: Rename getTimezoneOffset() to defaultTimezoneOffset() 2019-04-17 12:30:33 +02:00
Filter Drop PHP 5.3 support 2018-05-07 11:36:54 +02:00
Tree Fix TreeNodeIterator::isEmpty() 2016-03-30 15:31:53 +02:00
ConfigObject.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
ConnectionInterface.php Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Extensible.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Fetchable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
FilterColumns.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Filterable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Identifiable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Inspectable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Inspection.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Limitable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Paginatable.php Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
PivotTable.php Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
QueryInterface.php Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Queryable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Reducible.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
ResourceFactory.php Remove unsupported livestatus functionality 2017-09-29 10:33:55 +02:00
Selectable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
SimpleQuery.php Fix double query execution 2019-06-27 15:11:45 +02:00
SortRules.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Sortable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
Updatable.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00