Werk #5468

TitleFixed indexing with disjunctions.
Date2017-12-04 14:11:55
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p21,1.5.0i2
Level1 - Trivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

To speed things up, livestatus tries to use an index when accessing the 'hosts' and 'services' tables, but there was a bug when a disjunction ('Or:') was used in filters, leading to too few results. This has been fixed.