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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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