From 317ee266a88bd8752113df39f12e2d133edd6802 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 26 Nov 2025 13:50:58 +0100 Subject: Add output formatting option where they were forgotten --- plugins/check_mysql_query.d/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins/check_mysql_query.d') diff --git a/plugins/check_mysql_query.d/config.h b/plugins/check_mysql_query.d/config.h index 1c9952e5..32ab455a 100644 --- a/plugins/check_mysql_query.d/config.h +++ b/plugins/check_mysql_query.d/config.h @@ -1,6 +1,7 @@ #pragma once #include "../../config.h" +#include "output.h" #include "thresholds.h" #include @@ -16,6 +17,9 @@ typedef struct { char *sql_query; mp_thresholds thresholds; + + bool output_format_is_set; + mp_output_format output_format; } check_mysql_query_config; check_mysql_query_config check_mysql_query_config_init() { @@ -31,6 +35,8 @@ check_mysql_query_config check_mysql_query_config_init() { .sql_query = NULL, .thresholds = mp_thresholds_init(), + + .output_format_is_set = false, }; return tmp; } -- cgit v1.2.3-74-g34f1