Skip to content

feature: Counters for query success, warning, error per hostgroup - #5841

Open
adregner wants to merge 3 commits into
sysown:v3.0from
adregner:feature/query-error-counters
Open

feature: Counters for query success, warning, error per hostgroup#5841
adregner wants to merge 3 commits into
sysown:v3.0from
adregner:feature/query-error-counters

defensive null check fix

688b354
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 9, 2026 in 3m 23s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 3551 in lib/MySQL_HostGroups_Manager.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "sprintf" function is safe here or replace it with a call to "snprintf".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ6qlOIabYi6gGbjCJ_4&open=AZ6qlOIabYi6gGbjCJ_4&pullRequest=5841

Check failure on line 28 in include/ProxySQL_Statistics.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this macro by "const", "constexpr" or an "enum".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ6qlOB8bYi6gGbjCJ_1&open=AZ6qlOB8bYi6gGbjCJ_1&pullRequest=5841

Check failure on line 3541 in lib/MySQL_HostGroups_Manager.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "sprintf" function is safe here or replace it with a call to "snprintf".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ6qlOIabYi6gGbjCJ_2&open=AZ6qlOIabYi6gGbjCJ_2&pullRequest=5841

Check failure on line 3546 in lib/MySQL_HostGroups_Manager.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "sprintf" function is safe here or replace it with a call to "snprintf".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ6qlOIabYi6gGbjCJ_3&open=AZ6qlOIabYi6gGbjCJ_3&pullRequest=5841