summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql_query.d
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mysql_query.d')
-rw-r--r--plugins/check_mysql_query.d/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/check_mysql_query.d/config.h b/plugins/check_mysql_query.d/config.h
index 32ab455a..99df44ee 100644
--- a/plugins/check_mysql_query.d/config.h
+++ b/plugins/check_mysql_query.d/config.h
@@ -16,6 +16,7 @@ typedef struct {
16 unsigned int db_port; 16 unsigned int db_port;
17 17
18 char *sql_query; 18 char *sql_query;
19 char *queryname;
19 mp_thresholds thresholds; 20 mp_thresholds thresholds;
20 21
21 bool output_format_is_set; 22 bool output_format_is_set;
@@ -28,12 +29,14 @@ check_mysql_query_config check_mysql_query_config_init() {
28 .db_socket = NULL, 29 .db_socket = NULL,
29 .db = NULL, 30 .db = NULL,
30 .db_user = NULL, 31 .db_user = NULL,
32
31 .db_pass = NULL, 33 .db_pass = NULL,
32 .opt_file = NULL, 34 .opt_file = NULL,
33 .opt_group = NULL, 35 .opt_group = NULL,
34 .db_port = MYSQL_PORT, 36 .db_port = MYSQL_PORT,
35 37
36 .sql_query = NULL, 38 .sql_query = NULL,
39 .queryname = NULL,
37 .thresholds = mp_thresholds_init(), 40 .thresholds = mp_thresholds_init(),
38 41
39 .output_format_is_set = false, 42 .output_format_is_set = false,