Werk #5829: Fixed calculation of time ranges when using disjunctions in queries.

Component Livestatus
Title Fixed calculation of time ranges when using disjunctions in queries.
Date Mar 16, 2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.5.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Disjunctions (Or:, WaitConditionOr:, StatsOr:) were handled like conjuctions (And:, WaitConditionAnd:, StatsAnd:) when time ranges were calculated for the log and statehist tables. This has been fixed now.

Note that the Check_MK GUI does not create such queries, so only people using hand-rolled queries in scripts etc. were affected.

To the list of all Werks