High-performance proxy for MySQL and PostgreSQL
This report presents the forensic synthetic code analysis of sysown/proxysql, a C++ project with 6,904 GitHub stars. SynthScan v2.0 examined 694,961 lines of code across 2208 source files, recording 2004 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 3.9 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2004 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | codecov.yml | 1 | # Codecov configuration for ProxySQL. | COMMENT |
| LOW | .aider.conf.yml | 1 | ########################################################## | COMMENT |
| LOW | .aider.conf.yml | 21 | #model: xxx | COMMENT |
| LOW | .aider.conf.yml | 41 | COMMENT | |
| LOW | .aider.conf.yml | 61 | COMMENT | |
| LOW | .aider.conf.yml | 81 | #weak-model: xxx | COMMENT |
| LOW | .aider.conf.yml | 101 | ## Enable caching of prompts (default: False) | COMMENT |
| LOW | .aider.conf.yml | 121 | COMMENT | |
| LOW | .aider.conf.yml | 141 | #light-mode: false | COMMENT |
| LOW | .aider.conf.yml | 161 | ## Set the color for assistant output (default: #0088ff) | COMMENT |
| LOW | .aider.conf.yml | 181 | COMMENT | |
| LOW | .aider.conf.yml | 201 | #auto-commits: true | COMMENT |
| LOW | .aider.conf.yml | 221 | ## Enable/disable git pre-commit hooks with --no-verify (default: False) | COMMENT |
| LOW | .aider.conf.yml | 241 | COMMENT | |
| LOW | .aider.conf.yml | 261 | COMMENT | |
| LOW | .aider.conf.yml | 281 | #analytics-posthog-project-api-key: xxx | COMMENT |
| LOW | .aider.conf.yml | 301 | ## Show the version number and exit | COMMENT |
| LOW | .aider.conf.yml | 321 | COMMENT | |
| LOW | .aider.conf.yml | 341 | #voice-language: en | COMMENT |
| LOW | .aider.conf.yml | 361 | #read: xxx | COMMENT |
| LOW | .aider.conf.yml | 381 | #verbose: false | COMMENT |
| LOW | .aider.conf.yml | 401 | ## Enable/disable fancy input with history and completion (default: True) | COMMENT |
| LOW | .aider.conf.yml | 421 | COMMENT | |
| LOW | .aider.conf.yml | 441 | #mini: false | COMMENT |
| LOW | tools/eventslog_reader_sample.cpp | 1 | #include <iostream> | COMMENT |
| LOW | …ages/proxysql/deb-compliant/entrypoint/entrypoint.bash | 41 | build_target="$PROXYSQL_BUILD_TYPE" | COMMENT |
| LOW | test/sqlite_history_convert.cpp | 1 | #include <pthread.h> | COMMENT |
| LOW | …fra-dbdeployer-pgsql17-repl/bin/toxiproxy-bootstrap.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …fra-dbdeployer-pgsql17-repl/bin/docker-proxy-post.bash | 1 | #!/bin/bash | COMMENT |
| LOW | …fra-dbdeployer-pgsql17-repl/bin/docker-proxy-post.bash | 41 | done | COMMENT |
| LOW | test/infra/common/env.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/common/env.sh | 141 | # e.g.: "basic-t admin_various_.* reg_test_3[5-7]\d\d-.*" | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 341 | -e GCOV_PREFIX="/gcov/tap" \ | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 381 | if ! \"${SCRIPT_DIR}/dump-proxysql-gcov.bash\"; then | COMMENT |
| LOW | test/infra/control/destroy-multi-group.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/start-proxysql-isolated.bash | 61 | mkdir -p "${PROXY_DATA_DIR}" | COMMENT |
| LOW | test/infra/control/start-proxysql-isolated.bash | 161 | if [ ! -f "${GENAI_PLUGIN_SRC}" ]; then | COMMENT |
| LOW | test/infra/control/start-proxysql-isolated.bash | 221 | fi | COMMENT |
| LOW | test/infra/control/check_all_nodes.bash | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/infra/control/run-multi-group.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/verify-package-install.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/run-unit-tests-asan-coverage.bash | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/infra/control/run-unit-tests-asan-coverage.bash | 21 | # * lib/, src/, and test/tap/tests/unit/ have been built with | COMMENT |
| LOW | test/infra/control/run-unit-tests-asan-coverage.bash | 61 | echo "==> Capturing baseline coverage snapshot (--initial)" | COMMENT |
| LOW | test/afl_digest_test/afl_mysql_query_digest.cpp | 1 | #pragma GCC optimize("O0") | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1241 | if (shared_st->res_cur_pos == shared_st->res_init_pos && is_space_char(*shared_st->q)) { | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1361 | static __attribute__((always_inline)) inline | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1481 | if (opts->grouping_limit == 0) { return; } | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1741 | // non-collapsed chain of patterns (if the expanded version of last pattern didn't fit in the buffer). The | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1881 | // INSERT INTO db.table pi_value VALUES (3.141592 | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1901 | // ============================================== | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 2381 | continue; | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 2501 | copy_next_char(&shared_st, &opts); | COMMENT |
| LOW | …s/pgsql-extended_query_protocol_query_rules_test-t.cpp | 1 | /** | COMMENT |
| LOW | test/tap/tests/test_ssl_fast_forward-3.cpp | 1 | #include <cstdlib> | COMMENT |
| LOW | …tap/tests/mysql_hostgroup_attributes_config_file-t.cpp | 1 | /** | COMMENT |
| LOW | …st/tap/tests/test_prepare_statement_memory_usage-t.cpp | 1 | /** | COMMENT |
| LOW | test/tap/tests/test_mysqlx_e2e_routing-t.cpp | 21 | #include "tap.h" | COMMENT |
| LOW | test/tap/tests/firewall_commands1-t.cpp | 1 | #include <algorithm> | COMMENT |
| 1017 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 25 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 87 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 89 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 106 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 126 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 130 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 166 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 169 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 184 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 186 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 58 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 69 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 86 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/repl/proxysql_repl_tests/exec_shun_test.sh | 98 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/repl/proxysql_repl_tests/exec_shun_test.sh | 104 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/repl/proxysql_repl_tests/exec_shun_test.sh | 110 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 170 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 187 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 207 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 65 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 76 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 93 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 105 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 122 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 143 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 206 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 222 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 238 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 65 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 76 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 93 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 105 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 122 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 142 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 205 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 221 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 237 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_all_repl_tests.sh | 30 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_all_repl_tests.sh | 30 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/bin/debezium-check.bash | 9 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/test_external_live.sh | 16 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | scripts/test_external_live.sh | 18 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 61 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 63 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 92 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 94 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 151 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 153 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 40 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 42 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 97 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 99 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 139 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 141 | # ============================================================================ | COMMENT |
| 75 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/infra/README.md | 76 | ### Step 1: Global Setup | COMMENT |
| LOW⚡ | test/infra/README.md | 92 | ### Step 2: Start ProxySQL & Backends | COMMENT |
| LOW⚡ | test/infra/README.md | 99 | ### Step 3: Run TAP Tests | COMMENT |
| LOW⚡ | test/infra/README.md | 106 | ### Step 4: Teardown | COMMENT |
| LOW | test/infra/SKILL.md | 29 | ### Step 1: Environment Setup | COMMENT |
| LOW | test/infra/SKILL.md | 43 | ### Step 2: Start Infrastructure | COMMENT |
| LOW | test/infra/SKILL.md | 56 | ### Step 3: Start ProxySQL | COMMENT |
| LOW | test/infra/SKILL.md | 68 | ### Step 4: Configure ProxySQL Backend | COMMENT |
| LOW | test/infra/SKILL.md | 82 | ### Step 5: Run Tests | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1290 | // Step 1: Simple query BEGIN - verify it succeeded | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1300 | // Step 2: Enter pipeline mode and SET | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1429 | // Step 2: Simple query SET | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1432 | // Step 3: Re-enter pipeline mode and COMMIT | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2875 | // Step 1: Set a variable to create marker state | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2880 | // Step 2: Enter pipeline mode | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2886 | // Step 3: Send RESET ALL (may be rejected due to startup mismatch) | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2893 | // Step 4: Send a subsequent query - this tests the pipeline reset fix | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2900 | // Step 5: Sync | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2907 | // Step 6: Consume results with proper loop (like working tests) | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2962 | // Step 1: Set a marker value | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2965 | // Step 2: Enter pipeline mode | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2971 | // Step 3: Send RESET DateStyle | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2978 | // Step 4: Send subsequent query | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2985 | // Step 5: Sync | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2992 | // Step 6: Consume results with proper loop | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1365 | // Step 3: Simple query ROLLBACK | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1392 | // Step 1: Enter pipeline mode and BEGIN | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1488 | // Step 1: Simple query BEGIN and first SET | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1507 | // Step 2: Enter pipeline mode for second SET and COMMIT | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1602 | // Step 1: Enter pipeline mode, BEGIN, SET, then exit | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1673 | // Step 2: Simple query ROLLBACK | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1926 | // Step 1: Get original value and seed pool with marked connections | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1958 | // Step 2: Create connections with startup parameter -15 (different from marker '3') | COMMENT |
| LOW | test/tap/tests/test_filtered_set_statements-t.cpp | 51 | // NOTE: This variable has been temporarily ignored. Check issues #3442 and #3441. | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 615 | // Step 6: Send the malformed packet on the authenticated connection | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 622 | // Step 7: Wait for a response to the packet. | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 178 | // Step 1: Prepare statement (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 183 | // Step 2: Initial Describe to verify statement exists (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 187 | // Step 3: Send flood of Close Statement messages (NO backend routing) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 199 | // Step 4: Send Describe (backend operation - REQUIRES backend connection) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 208 | // Step 5: Send Sync to complete extended query frame | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 212 | // Step 6: Wait for completion | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 261 | // Step 3: Send flood of Close Statement messages (NO backend routing) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 270 | // Step 4: Send Bind (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 276 | // Step 5: Send Execute (backend operation - DEADLOCK TRIGGER) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 282 | // Step 6: Send Sync to complete extended query frame | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 286 | // Step 7: Wait for completion | COMMENT |
| LOW⚡ | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 57 | // Step 0: Connect to ProxySQL admin | COMMENT |
| LOW⚡ | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 67 | // Step 1: Connect to MySQL backend directly, check binlog, set wait_timeout | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 95 | // Step 2: Discover hostgroup topology | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 163 | // Step 3: Connect to ProxySQL and create backends in both hostgroups | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 229 | // Step 4: Send COM_BINLOG_DUMP via mariadb_rpl | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 273 | // Step 5: Wait for the idle backend (reader_hg) to be closed by MySQL | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 292 | // Step 6: Verify ProxySQL did not crash | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 368 | // Step 1: Execute first describe query (sets describe_mode=true, saves table name) | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 383 | // Step 2: Execute second describe query (uses saved table name) | COMMENT |
| LOW⚡ | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 396 | // Step 3: Execute NON-DESCRIBE query (should reset describe_mode=false) | COMMENT |
| LOW⚡ | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 405 | // Step 4: Execute new describe query with different table | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 423 | // Step 5: Verify pg_attribute works with new table | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 252 | // Step 1: Get initial connection count via MCP stats | COMMENT |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1290 | // Step 1: Simple query BEGIN - verify it succeeded | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1300 | // Step 2: Enter pipeline mode and SET | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1429 | // Step 2: Simple query SET | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1432 | // Step 3: Re-enter pipeline mode and COMMIT | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2875 | // Step 1: Set a variable to create marker state | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2880 | // Step 2: Enter pipeline mode | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2886 | // Step 3: Send RESET ALL (may be rejected due to startup mismatch) | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2893 | // Step 4: Send a subsequent query - this tests the pipeline reset fix | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2900 | // Step 5: Sync | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2907 | // Step 6: Consume results with proper loop (like working tests) | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2962 | // Step 1: Set a marker value | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2965 | // Step 2: Enter pipeline mode | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2971 | // Step 3: Send RESET DateStyle | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2978 | // Step 4: Send subsequent query | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2985 | // Step 5: Sync | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2992 | // Step 6: Consume results with proper loop | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1365 | // Step 3: Simple query ROLLBACK | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1392 | // Step 1: Enter pipeline mode and BEGIN | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1488 | // Step 1: Simple query BEGIN and first SET | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1507 | // Step 2: Enter pipeline mode for second SET and COMMIT | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1602 | // Step 1: Enter pipeline mode, BEGIN, SET, then exit | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1673 | // Step 2: Simple query ROLLBACK | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1926 | // Step 1: Get original value and seed pool with marked connections | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1958 | // Step 2: Create connections with startup parameter -15 (different from marker '3') | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 615 | // Step 6: Send the malformed packet on the authenticated connection | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 622 | // Step 7: Wait for a response to the packet. | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 178 | // Step 1: Prepare statement (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 183 | // Step 2: Initial Describe to verify statement exists (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 187 | // Step 3: Send flood of Close Statement messages (NO backend routing) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 199 | // Step 4: Send Describe (backend operation - REQUIRES backend connection) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 208 | // Step 5: Send Sync to complete extended query frame | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 212 | // Step 6: Wait for completion | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 261 | // Step 3: Send flood of Close Statement messages (NO backend routing) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 270 | // Step 4: Send Bind (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 276 | // Step 5: Send Execute (backend operation - DEADLOCK TRIGGER) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 282 | // Step 6: Send Sync to complete extended query frame | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 286 | // Step 7: Wait for completion | COMMENT |
| LOW⚡ | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 57 | // Step 0: Connect to ProxySQL admin | COMMENT |
| LOW⚡ | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 67 | // Step 1: Connect to MySQL backend directly, check binlog, set wait_timeout | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 95 | // Step 2: Discover hostgroup topology | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 163 | // Step 3: Connect to ProxySQL and create backends in both hostgroups | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 229 | // Step 4: Send COM_BINLOG_DUMP via mariadb_rpl | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 273 | // Step 5: Wait for the idle backend (reader_hg) to be closed by MySQL | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 292 | // Step 6: Verify ProxySQL did not crash | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 368 | // Step 1: Execute first describe query (sets describe_mode=true, saves table name) | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 383 | // Step 2: Execute second describe query (uses saved table name) | COMMENT |
| LOW⚡ | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 396 | // Step 3: Execute NON-DESCRIBE query (should reset describe_mode=false) | COMMENT |
| LOW⚡ | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 405 | // Step 4: Execute new describe query with different table | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 423 | // Step 5: Verify pg_attribute works with new table | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 252 | // Step 1: Get initial connection count via MCP stats | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 294 | // Step 2: Create several new MySQL connections to the frontend port | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 312 | // Step 3: Query connection count again | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 331 | // Step 4: Verify count increased | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 225 | // Step 1: IP literal must NOT cause DNS work | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 240 | // Step 2: Resolvable hostname populates record_updated | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 261 | // Step 3: Client connect through proxy hits the cache | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 279 | // Step 4: Whitespace around hostname is trimmed before resolution | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 292 | // Step 5: Unresolvable hostname — lookup is queried but produces nothing | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 325 | // Step 6: Removing servers drops orphaned cache records | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 352 | // Step 7: Disabled cache (refresh_interval=0) flatlines counters | COMMENT |
| 61 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .aider.conf.yml | 48 | ## Specify a file with context window and costs for unknown models | COMMENT |
| MEDIUM | test/infra/control/start-proxysql-isolated.bash | 153 | # Same pattern for the genai plugin (post-carve-out, GenAI/MCP/RAG/LLM | COMMENT |
| MEDIUM | test/tap/tests/test_mcp_rag_metrics-t.sh | 2 | # TAP integration test for authenticated RAG requests, metrics, and logging. | COMMENT |
| MEDIUM | test/tap/tests/test_mcp_rag_metrics-t.sh | 38 | echo "msg: # === MCP RAG Metrics Test Suite ===" | CODE |
| MEDIUM | test/tap/tests/rag_stats_testing/prepare_test_db.sh | 2 | # Seed the RAG database opened by the ProxySQL process using Python stdlib. | COMMENT |
| MEDIUM | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 2 | # Verify RAG tool counters by measuring deltas without clearing shared stats. | COMMENT |
| MEDIUM | test/tap/tests/rag_stats_testing/test_rag_search_log.sh | 2 | # Verify RAG search logging with run-unique rows and no global table reset. | COMMENT |
| MEDIUM | test/tap/groups/ai-g1/env.sh | 20 | # Post-carve-out: GenAI/MCP/RAG/LLM all live in plugins/genai/. The | COMMENT |
| MEDIUM | test/tap/groups/ai-g2/env.sh | 20 | # The GenAI/MCP/RAG/LLM features are supplied by plugins/genai/. | COMMENT |
| MEDIUM | plugins/genai/include/MySQL_Tool_Handler.h | 60 | // Query guardrails | COMMENT |
| MEDIUM | plugins/genai/include/Query_Tool_Handler.h | 80 | // Query guardrails | COMMENT |
| MEDIUM | …powers/plans/2026-07-08-pgsql-sp1-tap-coverage-gaps.md | 59 | ## Task 1: Wire-level auth-challenge test scaffold + cleartext case | COMMENT |
| MEDIUM | …uperpowers/plans/2026-07-08-pgsql-sp3-driver-matrix.md | 52 | ## Task 1: Multi-language runner image + CLI/subprocess scaffolding | COMMENT |
| MEDIUM | …s/superpowers/plans/2026-05-03-genai-features-batch.md | 759 | ## Task 8: RAG — Add content_hash Column (Feature D, Part 1) | COMMENT |
| MEDIUM | …s/superpowers/plans/2026-05-03-genai-features-batch.md | 835 | ## Task 9: RAG — Hash-Based Update Detection (Feature D, Part 2) | COMMENT |
| MEDIUM | …s/superpowers/plans/2026-05-03-genai-features-batch.md | 919 | ## Task 10: RAG — Delete Detection (Feature D, Part 3) | COMMENT |
| MEDIUM | …powers/plans/2026-04-16-step0-protocolx-cherry-pick.md | 369 | ## Task 6: Cherry-pick Batch 5 — mysqlx reference-plugin scaffold | COMMENT |
| MEDIUM | …powers/specs/2026-05-03-genai-features-batch-design.md | 170 | ## Feature D: RAG Incremental Sync | COMMENT |
| MEDIUM | …powers/specs/2026-05-03-genai-features-batch-design.md | 247 | #### MCP RAG tool compatibility | COMMENT |
| MEDIUM | scripts/mcp/test_rag.sh | 3 | # test_rag.sh - Test RAG functionality via MCP endpoint | COMMENT |
| MEDIUM | scripts/mcp/test_rag.sh | 134 | # Test specific RAG tools | COMMENT |
| MEDIUM | scripts/mcp/test_rag.sh | 160 | # Test RAG admin stats | COMMENT |
| MEDIUM | …veryAgent/ClaudeCode_Headless/headless_db_discovery.sh | 49 | TIMEOUT=3600 # 1 hour default (multi-agent discovery takes longer) | CODE |
| MEDIUM | .github/workflows/CI-unit-tests-tsan.yml | 117 | # NOT set PROXYSQL40=1: the GenAI/MCP/AI/RAG | COMMENT |
| MEDIUM | doc/rag-documentation.md | 1 | # RAG (Retrieval-Augmented Generation) in ProxySQL | COMMENT |
| MEDIUM | doc/rag-documentation.md | 122 | # Test RAG functionality via MCP endpoint | COMMENT |
| MEDIUM | doc/rag-documentation.md | 125 | # Test RAG database schema | COMMENT |
| MEDIUM | doc/rag-examples.md | 1 | # RAG Tool Examples | COMMENT |
| MEDIUM | doc/rag-examples.md | 18 | ### List all RAG tools | COMMENT |
| MEDIUM | doc/rag-doxygen-documentation-summary.md | 1 | # RAG Subsystem Doxygen Documentation Summary | COMMENT |
| MEDIUM | doc/RELEASE_NOTES_WORKFLOW.md | 8 | # 1. Run the orchestration script | COMMENT |
| MEDIUM | doc/rag-doxygen-documentation.md | 1 | # RAG Subsystem Doxygen Documentation | COMMENT |
| MEDIUM | doc/GH-Actions/README.md | 407 | # 2. Sparse-checkout just the CI orchestration + group definitions. | COMMENT |
| MEDIUM | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 55 | # Start llama-server with embedding model | COMMENT |
| MEDIUM | doc/RAG/rag_system_prompt.md | 1 | # Agent System Prompt: ProxySQL RAG Orchestrator | COMMENT |
| MEDIUM | doc/RAG/RAG_COMPLETION_SUMMARY.md | 1 | # RAG Implementation Completion Summary | COMMENT |
| MEDIUM | doc/RAG/sql-examples.md | 1 | # ProxySQL RAG Index — SQL Examples (FTS, Vectors, Hybrid) | COMMENT |
| MEDIUM | doc/RAG/architecture-runtime-retrieval.md | 1 | # ProxySQL RAG Engine — Runtime Retrieval Architecture (v0 Blueprint) | COMMENT |
| MEDIUM | doc/RAG/architecture-runtime-retrieval.md | 15 | ## 1. The runtime role of ProxySQL in a RAG system | COMMENT |
| MEDIUM | doc/RAG/RAG_FILE_SUMMARY.md | 1 | # RAG Implementation File Summary | COMMENT |
| MEDIUM | doc/RAG/architecture-data-model.md | 1 | # ProxySQL RAG Index — Data Model & Ingestion Architecture (v0 Blueprint) | COMMENT |
| MEDIUM | doc/RAG/chunking-and-embedding-guide.md | 1 | # RAG Source Configuration Guide: `chunking_json` and `embedding_json` | COMMENT |
| MEDIUM | doc/RAG/ingest-usage-guide.md | 1 | # RAG Ingestion Tool - Usage Guide (MySQL Protocol Version) | COMMENT |
| MEDIUM | doc/RAG/ingest-usage-guide.md | 18 | # 2. Initialize the RAG database schema | COMMENT |
| MEDIUM | doc/RAG/ingest-usage-guide.md | 35 | ### Step 1: Initialize the RAG Database | COMMENT |
| MEDIUM | doc/RAG/RAG_IMPLEMENTATION_COMPLETE.md | 1 | # ProxySQL RAG Subsystem Implementation - Complete | COMMENT |
| MEDIUM | doc/RAG/RAG_IMPLEMENTATION_COMPLETE.md | 9 | ### 1. RAG Tool Handler | COMMENT |
| MEDIUM | doc/RAG/mcp-tools.md | 1 | # MCP Tooling for ProxySQL RAG Engine (v0 Blueprint) | COMMENT |
| MEDIUM | doc/RAG/embeddings-design.md | 1 | # ProxySQL RAG Index — Embeddings & Vector Retrieval Design (Chunk-Level) (v0→v1 Blueprint) | COMMENT |
| MEDIUM | doc/plugin-chassis/FILE_CHANGES.md | 162 | ## G. Chassis: test scaffolding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 406 | def _validate_snapshot_username(username: str) -> None: | CODE |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 904 | def test_requirements_pin_supported_driver_majors(self): | CODE |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 909 | def test_tap_assets_have_a_build_dependency_and_clean_output(self): | CODE |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 918 | def test_tap_wrappers_do_not_install_dependencies_or_require_staging_locally(self): | CODE |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 858 | def test_source_function_has_security_boundaries(self): | CODE |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 878 | def test_source_function_requires_runtime_reader_secret_and_current_database(self): | CODE |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 886 | def test_example_configuration_is_loadable_with_protected_permissions(self): | CODE |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 930 | def test_readme_documents_scheduler_and_cluster_safety(self): | CODE |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 108 | def test_rejects_world_readable_config(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 113 | def test_rejects_symlinked_config_before_reading_target(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 121 | def test_group_read_requires_root_owner_and_owner_only_is_allowed(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 409 | def test_missing_action_is_configurable(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 418 | def test_aborts_for_unmanaged_main_runtime_drift(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 425 | def test_unmanaged_conflict_requires_adoption(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 437 | def test_cross_profile_conflict_aborts(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 444 | def test_duplicate_admin_rows_are_rejected(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 452 | def test_ownership_helpers_validate_and_normalize(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 466 | def test_unchanged_rows_need_no_action_or_load(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 474 | def test_managed_runtime_drift_requires_load(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 482 | def test_inactive_main_row_is_expected_absent_from_runtime(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 488 | def test_runtime_backend_half_with_frontend_disabled_is_not_drift(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 497 | def test_unmanaged_runtime_backend_half_with_frontend_disabled_is_not_drift(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 740 | def test_source_failure_is_secret_safe(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 748 | def test_dry_run_does_not_write_load_or_save(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 758 | def test_write_failure_never_loads_runtime(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 766 | def test_loads_on_actions_and_saves_only_after_load(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 774 | def test_loads_runtime_drift_without_actions(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 783 | def test_runtime_backend_half_skips_load_on_a_repeated_run(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 793 | def test_save_failure_reports_partial_after_successful_load(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 802 | def test_exclusive_lock_reports_contention(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 811 | def test_exclusive_lock_rejects_symlinked_target(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 821 | def test_summary_has_non_negative_duration(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 829 | def test_partial_summary_returns_nonzero_after_printing(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 61 | def test_defaults_and_cli_hostgroup_override(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 71 | def test_cli_overrides_take_precedence(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 143 | def test_config_owner_must_be_root_or_the_service_user(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 168 | def test_fdopen_failure_does_not_close_a_transferred_descriptor(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 181 | def test_rejects_group_write_even_when_root_owned(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 188 | def test_rejects_invalid_profile_and_function(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 228 | def test_rejects_each_invalid_configuration_value(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 274 | def test_parse_args_supports_overrides(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 316 | def test_rejects_invalid_verifiers_without_leaking_value(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 330 | def test_rejects_duplicate_without_leaking_verifier(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 336 | def test_empty_snapshot_requires_opt_in(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 375 | def test_create_uses_configured_hostgroup(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 388 | def test_managed_update_changes_only_password_active_and_ownership(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 577 | def test_source_composes_schema_and_function_as_identifiers(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 591 | def test_admin_fetches_exact_projection_from_both_tables(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 607 | def test_admin_normalizes_integer_fields_returned_as_postgresql_text(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 623 | def test_admin_update_uses_bound_parameters(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 632 | def test_admin_create_and_disable_use_explicit_columns_and_bound_keys(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 647 | def test_admin_runtime_commands_use_postgresql_users(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 656 | def test_drivers_are_imported_only_when_default_connectors_are_used(self): | STRING |
| LOW | test/tap/groups/test_ai_shell_contract.py | 64 | def test_helper_uses_canonical_admin_mcp_environment(self): | CODE |
| LOW | test/tap/groups/test_ai_shell_contract.py | 74 | def test_helper_sends_bearer_authenticated_http(self): | CODE |
| LOW | test/tap/groups/test_ai_shell_contract.py | 109 | def test_helper_https_uses_configured_ca_by_default(self): | CODE |
| LOW | test/tap/groups/test_ai_shell_contract.py | 145 | def test_helper_admin_sql_targets_configured_host(self): | CODE |
| LOW | test/tap/groups/test_ai_shell_contract.py | 180 | def test_registered_programs_use_shared_portable_helper(self): | CODE |
| LOW | test/tap/groups/test_ai_shell_contract.py | 188 | def test_headless_dry_run_fixtures_are_self_contained(self): | CODE |
| LOW | test/tap/groups/test_ai_shell_contract.py | 220 | def test_rag_database_fixture_needs_only_python_stdlib(self): | CODE |
| 99 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 701 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 752 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 800 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 825 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 863 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 872 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 887 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 895 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 903 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 909 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 915 | except Exception: | CODE |
| MEDIUM | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 729 | def fetch_snapshot(self) -> list[tuple[str, str]]: | CODE |
| LOW | test/tap/tests/test_sqlite3_from_unixtime-t.py | 24 | except Exception as e: | CODE |
| LOW | test/tap/tests/pgsql-user-sync-t.py | 174 | except Exception: | CODE |
| LOW | test/tap/tests/pgsql-user-sync-t.py | 187 | except Exception: | CODE |
| LOW | test/tap/tests/pgsql-user-sync-t.py | 289 | except Exception as error: | CODE |
| LOW | …g_test_3992_fast_forward_malformed_packet-pymysql-t.py | 29 | except Exception as e: | CODE |
| LOW | test/tap/noise/noise_stats_poller.py | 39 | except Exception as e: | CODE |
| MEDIUM | test/tap/noise/noise_stats_poller.py | 40 | print(f"Error in noise poller: {e}", file=sys.stderr) | CODE |
| LOW | test/scripts/mysqlx/behavioral_validation.py | 90 | except Exception as e: | CODE |
| LOW | test/scripts/mysqlx/behavioral_validation.py | 102 | except Exception: | CODE |
| LOW⚡ | test/scripts/mysqlx/behavioral_validation.py | 127 | except Exception as e: | CODE |
| LOW⚡ | test/scripts/mysqlx/behavioral_validation.py | 135 | except Exception as e: | CODE |
| LOW⚡ | test/scripts/mysqlx/behavioral_validation.py | 142 | except Exception: | CODE |
| LOW | test/scripts/mysqlx/behavioral_validation.py | 230 | except Exception as e: | CODE |
| LOW | test/scripts/mysqlx/behavioral_validation.py | 244 | except Exception as e: | CODE |
| LOW | test/scripts/mysqlx/stress.py | 94 | except Exception as e: | CODE |
| LOW | test/scripts/mysqlx/stress.py | 105 | except Exception: | CODE |
| LOW | test/scripts/mysqlx/stress.py | 141 | except Exception: | CODE |
| MEDIUM | test/scripts/mysqlx/stress.py | 101 | def find_proxysql_pid() -> Optional[int]: | CODE |
| MEDIUM | test/scripts/mysqlx/stress.py | 129 | def fetch_route_stats(args) -> List[dict]: | CODE |
| LOW | test/scripts/bin/proxysql-tester.py | 214 | except Exception as e: | CODE |
| LOW | test/scripts/bin/proxysql-tester.py | 262 | except Exception as e: | CODE |
| LOW⚡ | test/scripts/bin/proxysql-tester.py | 1347 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 702 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 803 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 836 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 899 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 941 | except Exception as log_error: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 973 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 1210 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 1420 | except Exception as e: | STRING |
| LOW | test/scripts/lib/utils.py | 49 | except Exception: | CODE |
| LOW | test/scripts/lib/utils.py | 67 | except Exception as e: | CODE |
| LOW | test/scripts/lib/utils.py | 99 | except Exception as e: | CODE |
| LOW | test/pg-compat/behaviors/transactions.py | 63 | except Exception: | CODE |
| LOW | scripts/stats_scrapper.py | 78 | except Exception as err: | CODE |
| MEDIUM | scripts/stackexchange_posts.py | 113 | print(f"Error retrieving parent posts: {e}") | STRING |
| MEDIUM | scripts/stackexchange_posts.py | 148 | print(f"Error retrieving child posts (chunk {i//chunk_size + 1}): {e}") | STRING |
| MEDIUM | scripts/stackexchange_posts.py | 168 | print(f"Error checking existing posts: {e}") | CODE |
| LOW | scripts/stackexchange_posts.py | 389 | except Exception as e: | CODE |
| LOW | scripts/kill_idle_backend_conns.py | 78 | except Exception as err: | CODE |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 75 | except Exception as e: | CODE |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 84 | except Exception as e: | CODE |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 122 | except Exception as e: | CODE |
| MEDIUM | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 125 | print(f"Error inserting row {rows+1}: {e}") | CODE |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 171 | except Exception as e: | CODE |
| LOW | scripts/lint/normalize-clang-tidy.py | 26 | except Exception: | CODE |
| LOW⚡ | scripts/lint/normalize-clang-tidy.py | 52 | except Exception: | CODE |
| LOW⚡ | scripts/lint/normalize-clang-tidy.py | 58 | except Exception: | CODE |
| 35 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …infra/infra-dbdeployer-pgsql17-repl/docker-compose.yml | 16 | # name so downstream SP-2 tasks (harness/ProxySQL) resolve the backend. | COMMENT |
| MEDIUM | …infra/infra-dbdeployer-pgsql17-repl/docker-compose.yml | 29 | # that name so downstream SP-2 tasks (harness/ProxySQL) resolve it. | COMMENT |
| MEDIUM | test/infra/control/run-tests-isolated.bash | 404 | # Basename matching is robust to GCOV_PREFIX_STRIP and | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_stress-t.sh | 8 | # over time. The harness has its own pass/fail logic (error rate < | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_stress-t.sh | 18 | # exit. Without it a missing harness file or a Python exception | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_behavioral-t.sh | 4 | # behavioral_validation.py harness (issues #5677, #5678). | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_behavioral-t.sh | 7 | # harness. Expects the proxysql.${INFRA_ID} container to be up with | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_behavioral-t.sh | 24 | # exit. Without it a missing harness file or a Python exception | COMMENT |
| MEDIUM | test/tap/tests/pgsql-set_statement_test-t.cpp | 220 | // Use a longer timeout and more robust result consumption | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/setup-infras.bash | 19 | # The harness scripts (behavioral_validation.py, stress.py) are then | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/setup-infras.bash | 106 | # surfaced in soak as 100% error rate in the stress harness and as | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/env.sh | 2 | # MySQL 8.4 backend. This group runs operational harness scripts — | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/env.sh | 8 | # isolated docker harness so the plugin is exercised end-to-end the | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/env.sh | 20 | # No ProxySQL cluster needed for this harness; a single primary node | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/env.sh | 26 | # tells the plugin to bind on. Matches the harness's --proxysql-port | COMMENT |
| MEDIUM | test/tap/groups/pg-compat/env.sh | 5 | # SP-2 tasks (Toxiproxy, ProxySQL config, pytest harness) consume THESE vars. | COMMENT |
| MEDIUM | test/scripts/mysqlx/stress.py | 202 | # this harness, we just count the churn intent in the | COMMENT |
| MEDIUM | test/pg-compat/conftest.py | 19 | # client_encoding pinned to UTF8 for the same reason harness/targets.py | COMMENT |
| MEDIUM | test/pg-compat/xfail.toml | 22 | # Format (see harness/xfail.py for the loader): | COMMENT |
| MEDIUM | test/pg-compat/xfail.toml | 36 | # test -- typically because the harness neutralizes it (e.g. by pinning a | COMMENT |
| MEDIUM | test/pg-compat/harness/targets.py | 33 | # psycopg is imported so callers can ``from harness import targets`` and reach | COMMENT |
| MEDIUM | test/pg-compat/behaviors/connect.py | 14 | # harness/targets.py's encoding rationale (backend DBs default to | COMMENT |
| MEDIUM | plugins/genai/src/tool_handlers/RAG_Tool_Handler.cpp | 1722 | // This is a basic validation - in production, more robust validation should be used | COMMENT |
| MEDIUM | …veryAgent/ClaudeCode_Headless/headless_db_discovery.sh | 8 | # comprehensive database discovery using 4 collaborating agents: | COMMENT |
| MEDIUM⚡ | scripts/release-tools/orchestrate_release.py | 41 | """Generate comprehensive prompt for LLM.""" | STRING |
| MEDIUM | .github/workflows/CI-unit-tests-tsan.yml | 22 | # `mysqlx-tsan-g1`. The harness is the same one used locally. | COMMENT |
| MEDIUM | .github/workflows/CI-unit-tests-tsan.yml | 36 | # Local repro — same harness, same TAP group, same TSAN_OPTIONS: | COMMENT |
| LOW | .github/workflows/CI-unit-tests-tsan.yml | 119 | # paths TSAN targets and would just add wall-clock. | COMMENT |
| MEDIUM | .github/workflows/gh-actions-reusable/ci-pg-compat.yml | 59 | # ships; debug is required because the isolated harness | COMMENT |
| MEDIUM⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| MEDIUM⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| LOW⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| MEDIUM⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| MEDIUM⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 117 | SET ai_nl2sql_provider_key='sk-your-api-key'; | CODE |
| HIGH⚡ | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 147 | SET ai_nl2sql_provider_key='your-api-key'; | CODE |
| HIGH⚡ | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 156 | SET ai_nl2sql_provider_key='sk-ant-your-api-key'; | CODE |
| HIGH⚡ | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 166 | SET ai_nl2sql_provider_key='your-api-key'; | CODE |
| HIGH⚡ | doc/RAG/embedding-test-plan.md | 17 | export OPENAI_API_KEY="your-api-key-here" | CODE |
| HIGH | doc/RAG/chunking-and-embedding-guide.md | 235 | "api_key": "sk-your-api-key", | CODE |
| HIGH | doc/RAG/ingest-usage-guide.md | 321 | "api_key": "sk-your-api-key", | CODE |
| HIGH | doc/LLM_Bridge/API.md | 98 | SET genai_llm_provider_key='sk-your-api-key'; | CODE |
| HIGH | doc/LLM_Bridge/README.md | 79 | SET genai-llm_provider_key='your-api-key'; -- Empty for local endpoints | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | doc/AI-DOCUMENTATION-FRAMEWORK.md | 33 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/AI-DOCUMENTATION-FRAMEWORK.md | 45 | ├── ai-generated/ # AI-generated exploration guides | CODE |
| HIGH | doc/LLM_Bridge/README.md | 267 | | Machine learning is a subset of artificial intelligence | Generated by llama3.2 | 0 | openai | | CODE |
| HIGH | doc/ai-generated/DOCUMENTATION-INDEX.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/VISUAL-GUIDE.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/PROJECT-LAYOUT.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/TEST-PIPELINE.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/ARCHITECTURE-OVERVIEW.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/RELEASE-PIPELINE.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | …ai-generated/architecture/ENHANCEMENT-OPPORTUNITIES.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .aider.conf.yml | 92 | ## Check if model accepts settings like reasoning_effort/thinking_tokens (default: True) | COMMENT |
| LOW | test/infra/control/cluster_init.bash | 42 | # Check if already initialized | COMMENT |
| LOW | test/infra/control/run-multi-group.bash | 231 | # Check if we should stop due to previous failure | COMMENT |
| LOW | test/tap/groups/ai/pre-cleanup.bash | 25 | # Check if ProxySQL container is running | COMMENT |
| LOW⚡ | test/scripts/bin/proxysql-tester.py | 1359 | # Check if connection_warming is supported | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 643 | # Check if any tests belong to this group | STRING |
| LOW | test/legacy_python_tests/docker_fleet.py | 294 | # Check if anything at all is returned | COMMENT |
| LOW | scripts/verify_vector_features.sh | 32 | # Check if it's not a stub | COMMENT |
| LOW | scripts/mcp/test_mcp_fts.sh | 166 | # Check if MCP server is accessible | COMMENT |
| LOW | scripts/mcp/test_mcp_fts.sh | 955 | # Check if snippet is present in results | COMMENT |
| LOW⚡ | scripts/mcp/setup_test_db.sh | 75 | # Check if Docker is available | COMMENT |
| LOW⚡ | scripts/mcp/setup_test_db.sh | 77 | # Check if user can run docker | COMMENT |
| LOW⚡ | scripts/mcp/setup_test_db.sh | 84 | # Check if mysql client can connect locally | COMMENT |
| LOW | scripts/mcp/setup_test_db.sh | 233 | # Check if container already exists | COMMENT |
| LOW | scripts/mcp/setup_test_db.sh | 637 | # Check if command was provided | COMMENT |
| LOW | scripts/mcp/test_rag.sh | 122 | # Check if response contains tools | COMMENT |
| LOW | scripts/mcp/test_nl2sql_e2e.sh | 105 | # Check if expected pattern exists | COMMENT |
| LOW | scripts/mcp/test_nl2sql_tools.sh | 108 | # Check if MCP server is accessible | COMMENT |
| LOW | scripts/mcp/test_nl2sql_tools.sh | 222 | # Check if expected pattern exists | COMMENT |
| LOW | scripts/mcp/configure_mcp.sh | 75 | # Check if ProxySQL admin is accessible | COMMENT |
| LOW | scripts/mcp/configure_mcp.sh | 88 | # Check if MySQL is accessible | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 111 | # Check if MCP server is accessible | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 164 | # Check if a tool is discovered on an endpoint | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 480 | # Check if tool should be skipped | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 565 | # Check if tool is discovered | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 571 | # Check if tool should be skipped | COMMENT |
| LOW | scripts/mcp/demo_agent_claude.sh | 59 | # Check if catalog exists | COMMENT |
| LOW | …coveryAgent/ClaudeCode_Headless/two_phase_discovery.py | 186 | # Check if claude command is available | STRING |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.py | 189 | # Check if output is empty | COMMENT |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.py | 206 | # Check if output file is empty | COMMENT |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.sh | 220 | # Check if file is empty (no output) | COMMENT |
| LOW | doc/vector-search-test/test_vector_tables.sh | 36 | # Check if result matches expected pattern | COMMENT |
| LOW | doc/vector-search-test/test_similarity_search.sh | 36 | # Check if result matches expected pattern | COMMENT |
| LOW | doc/vector-search-test/test_data_insertion.sh | 36 | # Check if result matches expected pattern | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scenarios.py | 19 | CODE | |
| LOW | test/tap/groups/check_groups.py | 30 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 13 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 15 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 24 | CODE | |
| LOW | test/scripts/lib/utils.py | 9 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 1 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 2 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 3 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 4 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 5 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 7 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 1 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 2 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 7 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 8 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 9 | CODE | |
| LOW | test/legacy_python_tests/one_backend_test.py | 1 | CODE | |
| LOW | test/legacy_python_tests/config_file_parsing_test.py | 1 | CODE | |
| LOW | test/legacy_python_tests/authentication_test.py | 1 | CODE | |
| LOW | test/legacy_python_tests/authentication_test.py | 3 | CODE | |
| LOW | test/pg-compat/harness/targets.py | 35 | CODE | |
| LOW | scripts/stackexchange_posts.py | 14 | CODE | |
| LOW | scripts/stackexchange_posts.py | 18 | CODE | |
| LOW | scripts/stackexchange_posts.py | 21 | CODE | |
| LOW | scripts/nlp_search_demo.py | 15 | CODE | |
| LOW | scripts/nlp_search_demo.py | 17 | CODE | |
| LOW | scripts/nlp_search_demo.py | 18 | CODE | |
| LOW | scripts/nlp_search_demo.py | 19 | CODE | |
| LOW | scripts/nlp_search_demo.py | 19 | CODE | |
| LOW | scripts/lint/clang_tidy_utils.py | 5 | CODE | |
| LOW | scripts/lint/clang_tidy_utils.py | 11 | CODE | |
| LOW | scripts/lint/clang_tidy_utils.py | 11 | CODE | |
| LOW | scripts/lint/clang_tidy_utils.py | 11 | CODE | |
| LOW | scripts/lint/run_tap_tests.py | 3 | CODE | |
| LOW | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 7 | CODE | |
| LOW | …coveryAgent/ClaudeCode_Headless/two_phase_discovery.py | 14 | CODE | |
| LOW | scripts/mcp/DiscoveryAgent/Rich/discover_cli.py | 38 | CODE | |
| LOW | scripts/release-tools/parse_commits_legacy.py | 2 | CODE | |
| LOW | scripts/release-tools/gen_changelog_legacy.py | 4 | CODE | |
| LOW | scripts/release-tools/generate_changelog.py | 16 | CODE | |
| LOW | scripts/release-tools/collect_pr_data.py | 14 | CODE | |
| LOW | scripts/release-tools/orchestrate_release.py | 17 | CODE | |
| LOW | scripts/release-tools/generate_structured_notes.py | 12 | CODE | |
| LOW | scripts/release-tools/fetch_prs_legacy.py | 5 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lib/PgSQL_Monitor.cpp | 1515 | sqlite_bind_text(stmt, 1, state.task.op_st.srv_info.addr.c_str()); | CODE |
| CRITICAL | lib/PgSQL_Monitor.cpp | 1560 | sqlite_bind_text(stmt, 1, state.task.op_st.srv_info.addr.c_str()); | CODE |
| CRITICAL | lib/PgSQL_Monitor.cpp | 1609 | sqlite_bind_text(stmt, 1, state.task.op_st.srv_info.addr.c_str()); | CODE |
| CRITICAL | lib/PgSQL_Monitor.cpp | 1665 | sqlite_bind_text(stmt, 1, state.task.op_st.srv_info.addr.c_str()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 836 | CODE | |
| LOW | test/tap/groups/check_groups.py | 36 | CODE | |
| LOW | test/tap/groups/check_groups.py | 66 | CODE | |
| LOW | test/tap/groups/lint_group_coverage.py | 90 | CODE | |
| LOW | test/tap/groups/lint_group_coverage.py | 127 | CODE | |
| LOW | test/scripts/mysqlx/stress.py | 109 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 266 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 331 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 370 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1001 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1065 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1351 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 551 | CODE | |
| LOW | scripts/stackexchange_posts.py | 118 | CODE | |
| LOW | scripts/stackexchange_posts.py | 231 | CODE | |
| LOW | scripts/nlp_search_demo.py | 463 | CODE | |
| LOW | scripts/nlp_search_demo.py | 46 | CODE | |
| LOW | scripts/nlp_search_demo.py | 228 | CODE | |
| LOW | scripts/nlp_search_demo.py | 422 | CODE | |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 61 | CODE | |
| LOW | scripts/lint/normalize-clang-tidy.py | 73 | CODE | |
| LOW | scripts/mcp/proxysql_mcp_stdio_bridge.py | 239 | CODE | |
| LOW | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 397 | CODE | |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.py | 118 | CODE | |
| LOW | scripts/release-tools/parse_commits_legacy.py | 35 | CODE | |
| LOW | scripts/release-tools/generate_changelog.py | 84 | CODE | |
| LOW | scripts/release-tools/categorize_commits.py | 85 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 28 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 76 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 140 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 202 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 273 | CODE | |
| LOW | scripts/release-tools/generate_structured_notes.py | 83 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/infra/control/run-tests-isolated.bash | 7 | # Usage: | COMMENT |
| LOW | test/infra/control/destroy-multi-group.bash | 5 | # Usage: | COMMENT |
| LOW | test/infra/control/run-multi-group.bash | 5 | # Usage: | COMMENT |
| LOW | test/infra/control/verify-package-install.bash | 11 | # Usage: | COMMENT |
| LOW | scripts/add_threat_patterns.sh | 14 | # Usage: | COMMENT |
| LOW⚡ | scripts/test_external_live.sh | 10 | # Usage: | COMMENT |
| LOW | scripts/mcp/stress_test.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_mcp_fts.sh | 13 | # Usage: | COMMENT |
| LOW | scripts/mcp/setup_test_db.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_rag.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_mcp_fts_detailed.sh | 15 | # Usage: | COMMENT |
| LOW⚡ | scripts/mcp/test_nl2sql_e2e.sh | 13 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_nl2sql_tools.sh | 13 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_catalog.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/configure_mcp.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 5 | # Usage: | COMMENT |
| LOW | …p/DiscoveryAgent/ClaudeCode_Headless/static_harvest.sh | 8 | # Usage: | COMMENT |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.sh | 11 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/tap/tests/test_ssl_fast_forward-3.cpp | 22 | const std::string lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | test/tap/tests/test_ssl_fast_forward-3.cpp | 22 | const std::string lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | test/tap/tests/test_ssl_large_query-2-t.cpp | 38 | const std::string lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | test/tap/tests/test_ssl_large_query-2-t.cpp | 38 | const std::string lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | test/tap/tests/unit/mysqlx_tls_unit-t.cpp | 110 | for (int i = 0; i < 9; i++) ok(false, "placeholder"); | CODE |
| LOW | include/proxysql_structs.h | 1887 | { SQL_NAME_LAST_LOW_WM, SETTING_VARIABLE, false, false, true, false, (char *)"placeholder", (char *)"placehold | CODE |
| LOW | include/proxysql_structs.h | 1987 | { PGSQL_NAME_LAST_LOW_WM, session_status___NONE, "placeholder", "placeholder", "0" , 0, nullptr, nullptr }, // th | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 790 | # Create a second table | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 914 | # Create a document with special characters | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 459 | '{"proxysql_pgsql_user_sync": null}', | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/ProxySQL_Config.cpp | 1508 | // TODO: Add validation to mysql_replication_hostgroups similar to mysql_servers | COMMENT |
| LOW | lib/ProxySQL_Config.cpp | 2273 | // TODO: Add validation to pgsql_replication_hostgroups similar to pgsql_servers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 1018 | __all__ = [ | CODE |