High-performance proxy for MySQL and PostgreSQL
This report presents the forensic synthetic code analysis of sysown/proxysql, a C++ project with 6,873 GitHub stars. SynthScan v2.0 examined 627,754 lines of code across 1949 source files, recording 1811 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 4.0 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 1811 distinct pattern matches across 18 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 server-side configuration for ProxySQL. | COMMENT |
| LOW | codecov.yml | 21 | # the repository git tree, whose root holds lib/, src/, include/, test/. | COMMENT |
| LOW | codecov.yml | 41 | # zero misses. The rule only matches paths beginning with `proxysql/`, so the | 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 | 61 | #${MAKE} cleanbuild | COMMENT |
| LOW | test/sqlite_history_convert.cpp | 1 | #include <pthread.h> | 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 | 301 | -e GCOV_PREFIX_STRIP="2" \ | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 321 | # when standalone, it runs here. | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 401 | # /home/runner/work/proxysql/proxysql and the repo content | COMMENT |
| LOW | test/infra/control/destroy-multi-group.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/start-proxysql-isolated.bash | 161 | # from the tester) can resolve the .gcda files it writes. | COMMENT |
| LOW | test/infra/control/start-proxysql-isolated.bash | 201 | # (created by docker-pgsql16-single's pgdb1 container) into ProxySQL at the | 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 | 1361 | // | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1481 | // | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1721 | * @param stage_4_st The state from previous execution of 'stage 4' to be updated. | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1861 | * @param stage_1_st Stage 1 final state, used for the trimmed digits replacement. | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1881 | // ``` | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 2041 | memset(&stage_4_st, 0, sizeof(struct stage_4_st)); | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 2501 | // remove all trailing whitespaces | 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 | 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 |
| LOW | …eg_test_handshake_response_unterminated_username-t.cpp | 1 | #include <cerrno> | COMMENT |
| LOW | test/tap/tests/test_mysqlx_soak_stress-t.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/tap/tests/test_ssl_fast_forward-2.cpp | 1 | #include <cstdlib> | COMMENT |
| 940 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | codecov.yml | 3 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | codecov.yml | 5 | # --------------------------------------------------------------------------- | 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 |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 271 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 273 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 363 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 365 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 397 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 399 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 1099 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 1101 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 1127 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 1129 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 1177 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 1179 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 1274 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 1276 | # ============================================================================ | COMMENT |
| 61 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/infra/README.md | 68 | ### Step 1: Global Setup | COMMENT |
| LOW⚡ | test/infra/README.md | 84 | ### Step 2: Start ProxySQL & Backends | COMMENT |
| LOW⚡ | test/infra/README.md | 91 | ### Step 3: Run TAP Tests | COMMENT |
| LOW⚡ | test/infra/README.md | 98 | ### 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 | 614 | // Step 6: Send the malformed packet on the authenticated connection | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 621 | // Step 7: Wait for response to the malformed 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 | 257 | // Step 1: Get initial connection count via MCP stats | COMMENT |
| 107 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 | 142 | # Same pattern for the genai plugin (post-carve-out, GenAI/MCP/RAG/LLM | COMMENT |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 155 | # Check if MCP server is accessible and RAG is enabled | COMMENT |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 179 | # echo "msg: not ok $DONE - MCP RAG Check - RAG not enabled (genai-rag_enabled=${rag_enabled})" | COMMENT |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 180 | # echo "msg: # Enable RAG with: SET genai-rag_enabled=true" | COMMENT |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 212 | # Prepare RAG test database | COMMENT |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 283 | # Prepare RAG test database | COMMENT |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 293 | # Test 1: RAG Tool Counters | COMMENT |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 297 | # Test 2: RAG Search Logging | COMMENT |
| MEDIUM | test/tap/tests/test_mcp_rag_metrics-t.sh | 3 | # test_mcp_rag_metrics-t - TAP Test for MCP RAG Metrics | COMMENT |
| MEDIUM | test/tap/tests/test_mcp_rag_metrics-t.sh | 5 | # This script runs all RAG metrics and logging tests and outputs results in TAP format. | COMMENT |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 164 | echo "msg: # Checking MCP RAG endpoint at ${rag_url}" | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 185 | echo "msg: # RAG is enabled, checking endpoint..." | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 219 | echo "msg: # Preparing RAG test database..." | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 263 | echo "msg: # === MCP RAG Metrics Test Suite ===" | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 264 | echo "msg: # This test validates the MCP RAG (Retrieval-Augmented Generation) endpoint:" | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 265 | echo "msg: # - Pre-flight checks: ProxySQL admin, MCP server, RAG endpoint" | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 266 | echo "msg: # - RAG Tool Counters: validates tool invocation counters increment" | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 267 | echo "msg: # - RAG Search Logging: validates search queries are logged correctly" | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 268 | echo "msg: # The RAG endpoint provides FTS (full-text search) and vector search" | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 285 | echo "msg: # Preparing RAG test database..." | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 290 | echo "msg: # Running RAG Metrics Tests..." | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 294 | echo "msg: # Starting Test 1: RAG Tool Invocation Counters" | CODE |
| MEDIUM⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 298 | echo "msg: # Starting Test 2: RAG Search Logging" | CODE |
| MEDIUM | test/tap/tests/test_mcp_claude_headless_flow-t.sh | 7 | # - two_phase_discovery.py orchestration script (dry-run always) | COMMENT |
| MEDIUM | test/tap/tests/test_mcp_claude_headless_flow-t.sh | 55 | echo "msg: # - two_phase_discovery.py orchestration script (dry-run mode)" | CODE |
| MEDIUM | test/tap/tests/unit/genai_plugin_load_unit-t.cpp | 1 | // Step 1 acceptance test for the genai plugin scaffold. | COMMENT |
| MEDIUM | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 3 | # test_rag_tool_counters.sh - Test RAG Tool Invocation Counters | COMMENT |
| MEDIUM | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 5 | # Tests that tool usage tracking works for RAG endpoint tools | COMMENT |
| MEDIUM | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 76 | # Clear any existing RAG stats | COMMENT |
| MEDIUM | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 225 | # Verify that schema column is set to "rag" for RAG tools | COMMENT |
| MEDIUM | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 240 | # Verify that endpoint column is set to "RAG" | COMMENT |
| MEDIUM | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 272 | # Display all RAG tool stats | COMMENT |
| MEDIUM | test/tap/tests/rag_stats_testing/test_rag_search_log.sh | 3 | # test_rag_search_log.sh - Test RAG Search Logging | COMMENT |
| MEDIUM | test/tap/groups/ai-g1/env.sh | 18 | # Post-carve-out: GenAI/MCP/RAG/LLM all live in plugins/genai/. The | 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 | …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 | 116 | # 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 | 392 | # 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 |
| 14 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 | 614 | // Step 6: Send the malformed packet on the authenticated connection | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 621 | // Step 7: Wait for response to the malformed 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 | 257 | // Step 1: Get initial connection count via MCP stats | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 299 | // Step 2: Create several new MySQL connections to the frontend port | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 317 | // Step 3: Query connection count again | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 336 | // 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 |
|---|---|---|---|---|
| LOW | test/tap/tests/test_sqlite3_from_unixtime-t.py | 24 | except Exception as e: | 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 | 212 | except Exception as e: | CODE |
| LOW | test/scripts/bin/proxysql-tester.py | 260 | except Exception as e: | CODE |
| LOW⚡ | test/scripts/bin/proxysql-tester.py | 1266 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 700 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 801 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 834 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 866 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 911 | except Exception as log_error: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 943 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 1129 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 1339 | 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 | 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 |
| LOW | scripts/lint/normalize-clang-tidy.py | 69 | except Exception: | CODE |
| LOW | scripts/lint/normalize-clang-tidy.py | 110 | except Exception: | CODE |
| MEDIUM | scripts/lint/normalize-clang-tidy.py | 22 | def get_repo_root(): | CODE |
| MEDIUM | scripts/lint/normalize-clang-tidy.py | 63 | def offset_to_line(cpath, offset): | CODE |
| LOW | scripts/lint/clang_tidy_utils.py | 28 | except Exception: | CODE |
| LOW | scripts/lint/clang_tidy_utils.py | 75 | except Exception: | CODE |
| LOW⚡ | scripts/lint/clang_tidy_utils.py | 139 | except Exception: | CODE |
| LOW | scripts/lint/run-local.sh | 60 | except Exception: | CODE |
| LOW | scripts/mcp/proxysql_mcp_stdio_bridge.py | 119 | except Exception as e: | CODE |
| LOW | scripts/mcp/proxysql_mcp_stdio_bridge.py | 188 | except Exception as e: | CODE |
| LOW | scripts/mcp/proxysql_mcp_stdio_bridge.py | 355 | except Exception as e: | CODE |
| MEDIUM | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 545 | def runner(): | CODE |
| LOW⚡ | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 116 | except Exception as e: | CODE |
| LOW | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 91 | except Exception: | CODE |
| LOW | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 97 | except Exception: | CODE |
| LOW | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 326 | except Exception: | STRING |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/infra/control/run-tests-isolated.bash | 345 | # 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/scripts/mysqlx/stress.py | 202 | # this harness, we just count the churn intent in the | COMMENT |
| MEDIUM | plugins/genai/src/tool_handlers/RAG_Tool_Handler.cpp | 1716 | // 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 | 118 | # paths TSAN targets and would just add wall-clock. | 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 |
|---|---|---|---|---|
| LOW⚡ | test/scripts/bin/proxysql-tester.py | 1270 | def run_proxysql_warming_con_test(self, host): | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 1222 | def run_proxysql_internal_test(self): | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 1628 | def generate_stage_coverage_report(conn_args, psqlt, stage, options={}): | STRING |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 12 | def _test_insert_sent_through_proxysql_is_visible_in_slave_servers(self): | STRING |
| LOW⚡ | …cy_python_tests/replication_topology_awareness_test.py | 31 | def test_insert_sent_through_proxysql_is_visible_in_slave_servers(self): | STRING |
| LOW⚡ | …cy_python_tests/replication_topology_awareness_test.py | 35 | def _test_promote_slave_to_master_reflected_in_proxysql_admin_tables(self): | STRING |
| LOW⚡ | …cy_python_tests/replication_topology_awareness_test.py | 41 | def test_promote_slave_to_master_reflected_in_proxysql_admin_tables(self): | STRING |
| LOW⚡ | …cy_python_tests/replication_topology_awareness_test.py | 45 | def _wait_for_slave_to_catch_up(self, slave_container_id): | STRING |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 84 | def _promote_first_slave_to_master(self): | STRING |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 156 | def _check_slave_promotion_reflected_in_proxysql_admin(self): | STRING |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 84 | def run_bash_command_within_proxysql(self, params): | CODE |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 111 | def _connect_gdb_to_proxysql_within_container(self): | CODE |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 160 | def run_query_mysql_container(self, query, db, container_id, return_result=True): | CODE |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 172 | def get_environment_variables_from_container(self, container_id): | CODE |
| LOW | test/legacy_python_tests/one_backend_test.py | 7 | def test_select_strings_returns_correct_result(self): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 41 | def get_dockerfiles_for_proxysql(self): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 45 | def get_dockerfiles_for_mysql(self): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 88 | def get_docker_scenario_templates(self, scenarios=[]): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 163 | def _wait_for_daemons_startup(self): | CODE |
| LOW⚡ | test/legacy_python_tests/docker_fleet.py | 182 | def _create_folder_to_share_proxysql_code_with_container(self): | CODE |
| LOW⚡ | test/legacy_python_tests/docker_fleet.py | 192 | def _delete_folder_with_shared_proxysql_code(self): | CODE |
| LOW⚡ | test/legacy_python_tests/docker_fleet.py | 195 | def _stop_existing_docker_containers(self): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 304 | def wait_for_mysql_connection_ok(self, hostname, port, username, password, | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 325 | def get_all_mysql_connection_credentials(self, hostgroup=None): | CODE |
| LOW⚡ | test/legacy_python_tests/docker_fleet.py | 351 | def get_mysql_connection_credentials(self, hostgroup=0): | CODE |
| LOW⚡ | test/legacy_python_tests/docker_fleet.py | 361 | def get_proxysql_connection_credentials(self): | CODE |
| LOW⚡ | test/legacy_python_tests/docker_fleet.py | 370 | def get_proxysql_admin_connection_credentials(self): | CODE |
| LOW⚡ | test/legacy_python_tests/docker_fleet.py | 379 | def _populate_mysql_containers_with_dump(self): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 404 | def _populate_proxy_configuration_with_backends(self): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 443 | def _extract_port_number_from_uri(self, uri): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 448 | def get_environment_variables_from_container(self, container_id): | CODE |
| LOW | test/legacy_python_tests/docker_fleet.py | 537 | def run_query_mysql_container(self, query, db, container_id, return_result=True): | CODE |
| LOW | test/legacy_python_tests/admin_tables_test.py | 8 | def test_monitor_tables_locking_errors(self): | CODE |
| LOW | test/legacy_python_tests/config_file_parsing_test.py | 22 | def _test_parse_config_file_to_admin_db(self): | STRING |
| LOW | test/legacy_python_tests/config_file_parsing_test.py | 78 | def test_parse_config_file_to_admin_db(self): | STRING |
| LOW | test/legacy_python_tests/authentication_test.py | 9 | def test_existing_user_with_correct_password_works(self): | CODE |
| LOW | test/legacy_python_tests/authentication_test.py | 22 | def test_existing_user_with_correct_password_but_not_registerd_within_proxysql_does_not_work(self): | CODE |
| LOW | test/legacy_python_tests/authentication_test.py | 33 | def test_existing_user_with_incorrect_password_does_not_work(self): | CODE |
| LOW | test/legacy_python_tests/authentication_test.py | 44 | def test_inexisting_user_with_random_password_does_not_work(self): | CODE |
| LOW | test/legacy_python_tests/sysbench_test.py | 5 | def test_proxy_doesnt_crash_under_mild_sysbench_load(self): | CODE |
| LOW | include/proxysql_structs.h | 837 | class StmtLongDataHandler; | CODE |
| LOW | include/Base_Session.h | 17 | class StmtLongDataHandler; | CODE |
| LOW | include/MySQL_PreparedStatement.h | 123 | class StmtLongDataHandler { | CODE |
| LOW | scripts/nlp_search_demo.py | 374 | def similarity_search_preparation(self, conn, query: str, limit: int = 20) -> List[Dict[str, Any]]: | STRING |
| LOW⚡ | scripts/lint/normalize-clang-tidy.py | 42 | def is_in_repo_include_or_lib(cpath, repo_root): | CODE |
| LOW | scripts/lint/clang_tidy_utils.py | 55 | def path_within_allowed_roots( | CODE |
| LOW | scripts/lint/clang_tidy_utils.py | 80 | def _normalize_yaml_diagnostics( | CODE |
| LOW | scripts/lint/clang_tidy_utils.py | 108 | def _normalize_text_diagnostics( | CODE |
| LOW⚡ | scripts/lint/clang_tidy_utils.py | 129 | def normalize_clang_tidy_content( | CODE |
| LOW⚡ | scripts/lint/clang_tidy_utils.py | 148 | def normalize_clang_tidy_file( | CODE |
| LOW | scripts/lint/test_run_tap_tests.py | 19 | def test_discover_test_sources_filters_only_tap_cpp_files(self): | CODE |
| LOW | scripts/lint/test_run_tap_tests.py | 40 | def test_build_compile_database_writes_entries_for_tap_sources(self): | CODE |
| LOW | scripts/lint/test_run_tap_tests.py | 63 | def test_build_compile_database_includes_tap_include_dirs(self): | CODE |
| LOW | scripts/lint/test_run_tap_tests.py | 79 | def test_select_test_sources_accepts_explicit_file_arguments(self): | CODE |
| LOW | scripts/lint/test_clang_tidy_utils.py | 17 | def test_normalize_keeps_test_diagnostic(self): | CODE |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.py | 88 | def get_discovery_prompt_path() -> str: | CODE |
| LOW | scripts/release-tools/generate_release_notes.py | 273 | def generate_detailed_changelog(pr_details, from_tag, to_tag, output_file): | 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 |
| 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 |
|---|---|---|---|---|
| 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/tests/test_mcp_rag_metrics-t.sh | 155 | # Check if MCP server is accessible and RAG is enabled | COMMENT |
| LOW⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 166 | # Check if genai-rag_enabled is true | COMMENT |
| LOW⚡ | test/tap/tests/test_mcp_rag_metrics-t.sh | 221 | # Check if prepare script exists | COMMENT |
| LOW | test/tap/tests/test_mcp_rag_metrics-t.sh | 128 | # Check if ProxySQL admin is accessible | COMMENT |
| LOW | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 97 | # Check if response was successful (counter tracking works even with empty results) | COMMENT |
| LOW | test/tap/groups/ai/pre-cleanup.bash | 25 | # Check if ProxySQL container is running | COMMENT |
| LOW⚡ | test/scripts/bin/proxysql-tester.py | 1278 | # Check if connection_warming is supported | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 641 | # 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 |
|---|---|---|---|---|
| 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 | scenarios.py | 19 | CODE | |
| LOW | test/tap/groups/check_groups.py | 30 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 12 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 14 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 23 | 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 | 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 | 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 | 65 | CODE | |
| LOW | test/scripts/mysqlx/stress.py | 109 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 264 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 329 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 368 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1003 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1067 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1270 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 549 | 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 | 1839 | { SQL_NAME_LAST_LOW_WM, SETTING_VARIABLE, false, false, true, false, (char *)"placeholder", (char *)"placehold | CODE |
| LOW | include/proxysql_structs.h | 1939 | { 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 |
|---|---|---|---|---|
| LOW | lib/ProxySQL_Config.cpp | 1206 | // TODO: Add validation to mysql_replication_hostgroups similar to mysql_servers | COMMENT |
| LOW | lib/ProxySQL_Config.cpp | 1815 | // TODO: Add validation to pgsql_replication_hostgroups similar to pgsql_servers | COMMENT |