Module: check_mk
Branch: master
Commit: 867286c981370fb3034185fbb495436b6c121f13
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=867286c981370f…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri May 12 14:05:47 2017 +0200
4687 FIX Fixed types of non-Stats: columns in Stats: queries
Livestatus queries with Stats: can contain non-Stats: columns, too
(grouping). The latter columns were always rendered as strings, which was
incorrect for e.g. numbers. This has been fixed.
Change-Id: Ia554d7f8d5d6227369952b6b8da9d5d48cadb131
---
.werks/4687 | 12 +++++++
livestatus/src/AttributeListColumn.cc | 4 ---
livestatus/src/AttributeListColumn.h | 1 -
livestatus/src/Column.h | 6 ----
livestatus/src/DoubleColumn.cc | 5 ---
livestatus/src/DoubleColumn.h | 1 -
livestatus/src/IntColumn.cc | 5 ---
livestatus/src/IntColumn.h | 1 -
livestatus/src/OffsetStringMacroColumn.cc | 12 ++-----
livestatus/src/OffsetStringMacroColumn.h | 1 -
livestatus/src/OutputBuffer.h | 1 +
livestatus/src/Query.cc | 31 +++++++++++++-----
livestatus/src/Query.h | 4 +--
livestatus/src/Renderer.cc | 2 ++
livestatus/src/Renderer.h | 52 +++++++++++++++++++++++++------
livestatus/src/StringColumn.cc | 1 +
livestatus/src/StringColumn.h | 5 +--
17 files changed, 87 insertions(+), 57 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=867286c981…