Skip to content

Address review feedback on auth unit tests (PR #5485)

051435f
Select commit
Loading
Failed to load commit list.
Merged

MySQL/PgSQL Authentication unit tests (Phase 2.2) #5485

Address review feedback on auth unit tests (PR #5485)
051435f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 22, 2026 in 9m 0s

Quality Gate failed

Failed conditions
1 Security Hotspot
C Maintainability 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 531 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr65&open=AZ0SAaAP4T-oZG71Hr65&pullRequest=5485

Check failure on line 435 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6r&open=AZ0SAaAP4T-oZG71Hr6r&pullRequest=5485

Check failure on line 265 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6g&open=AZ0SAaAP4T-oZG71Hr6g&pullRequest=5485

Check failure on line 349 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6p&open=AZ0SAaAP4T-oZG71Hr6p&pullRequest=5485

Check failure on line 297 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6h&open=AZ0SAaAP4T-oZG71Hr6h&pullRequest=5485

Check failure on line 508 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr61&open=AZ0SAaAP4T-oZG71Hr61&pullRequest=5485

Check failure on line 292 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6m&open=AZ0SAaAP4T-oZG71Hr6m&pullRequest=5485

Check failure on line 302 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6l&open=AZ0SAaAP4T-oZG71Hr6l&pullRequest=5485

Check failure on line 549 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr67&open=AZ0SAaAP4T-oZG71Hr67&pullRequest=5485

Check failure on line 42 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6A&open=AZ0SAaAP4T-oZG71Hr6A&pullRequest=5485

Check failure on line 77 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6L&open=AZ0SAaAP4T-oZG71Hr6L&pullRequest=5485

Check failure on line 487 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6x&open=AZ0SAaAP4T-oZG71Hr6x&pullRequest=5485

Check failure on line 172 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6W&open=AZ0SAaAP4T-oZG71Hr6W&pullRequest=5485

Check failure on line 65 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6J&open=AZ0SAaAP4T-oZG71Hr6J&pullRequest=5485

Check failure on line 175 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6X&open=AZ0SAaAP4T-oZG71Hr6X&pullRequest=5485

Check failure on line 442 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6s&open=AZ0SAaAP4T-oZG71Hr6s&pullRequest=5485

Check failure on line 475 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6v&open=AZ0SAaAP4T-oZG71Hr6v&pullRequest=5485

Check failure on line 166 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6U&open=AZ0SAaAP4T-oZG71Hr6U&pullRequest=5485

Check failure on line 520 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr62&open=AZ0SAaAP4T-oZG71Hr62&pullRequest=5485

Check failure on line 226 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6d&open=AZ0SAaAP4T-oZG71Hr6d&pullRequest=5485

Check failure on line 65 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6I&open=AZ0SAaAP4T-oZG71Hr6I&pullRequest=5485

Check failure on line 501 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr60&open=AZ0SAaAP4T-oZG71Hr60&pullRequest=5485

Check failure on line 305 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6j&open=AZ0SAaAP4T-oZG71Hr6j&pullRequest=5485

Check failure on line 131 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6S&open=AZ0SAaAP4T-oZG71Hr6S&pullRequest=5485

Check failure on line 186 in test/tap/tests/unit/auth_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ0SAaAP4T-oZG71Hr6Y&open=AZ0SAaAP4T-oZG71Hr6Y&pullRequest=5485