MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
This report presents the forensic synthetic code analysis of MariaDB/server, a C++ project with 7,853 GitHub stars. SynthScan v2.0 examined 1,210,944 lines of code across 2874 source files, recording 2781 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 2.7 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 2781 distinct pattern matches across 14 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 | CMakeLists.txt | 1 | # Copyright (c) 2006, 2017, Oracle and/or its affiliates. | COMMENT |
| LOW | .gitlab-ci.yml | 1 | --- | COMMENT |
| LOW | .gitlab-ci.yml | 41 | # many components that are otherwise slow to build. | COMMENT |
| LOW | .gitlab-ci.yml | 421 | - > | COMMENT |
| LOW | .gitlab-ci.yml | 561 | # stage: Salsa-CI | COMMENT |
| LOW | man/CMakeLists.txt | 1 | # Copyright (c) 2012, 2020, MariaDB | COMMENT |
| LOW | unittest/unit.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | unittest/json_lib/CMakeLists.txt | 1 | # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. | COMMENT |
| LOW | unittest/strings/strings-t.c | 101 | #endif | COMMENT |
| LOW | unittest/my_decimal/CMakeLists.txt | 1 | # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. | COMMENT |
| LOW | unittest/mytap/CMakeLists.txt | 1 | # Copyright (c) 2007 MySQL AB, 2010 Oracle and/or its affiliates. All rights reserved. | COMMENT |
| LOW | unittest/examples/CMakeLists.txt | 1 | # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. | COMMENT |
| LOW | unittest/mysys/CMakeLists.txt | 1 | # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. | COMMENT |
| LOW | unittest/mysys/my_symlink-t.c | 1 | #include <my_global.h> | COMMENT |
| LOW | unittest/sql/CMakeLists.txt | 1 | # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. | COMMENT |
| LOW | strings/xml.c | 21 | COMMENT | |
| LOW | strings/ctype-ucs2.c | 21 | #include "strings_def.h" | COMMENT |
| LOW | strings/ctype-ucs2.c | 41 | #endif | COMMENT |
| LOW | strings/ctype-ucs2.c | 1241 | #include "ctype-utf16.h" | COMMENT |
| LOW | strings/ctype-ucs2.c | 1261 | COMMENT | |
| LOW | strings/ctype-ucs2.c | 1741 | #define WEIGHT_MB2(b0,b1) my_weight_mb2_utf16mb2_general_ci(b1,b0) | COMMENT |
| LOW | strings/ctype-ucs2.c | 2101 | my_wc_t wc= MY_UTF32_WC4(b0, b1, b2, b3); | COMMENT |
| LOW | strings/ctype-ucs2.c | 2941 | } | COMMENT |
| LOW | strings/ctype-ucs2.c | 2961 | #define WEIGHT_ILSEQ(x) (0xFF0000 + (uchar) (x)) | COMMENT |
| LOW | strings/CMakeLists.txt | 1 | # Copyright (c) 2006, 2014, Oracle and/or its affiliates | COMMENT |
| LOW | strings/dtoa.c | 561 | #define dval(x) (x)->d | COMMENT |
| LOW | strings/dtoa.c | 581 | #define Ten_pmax 22 | COMMENT |
| LOW | strings/dtoa.c | 601 | #define Rounding rounding | COMMENT |
| LOW | strings/ctype-extra.c | 3241 | #ifdef HAVE_CHARSET_cp866 | COMMENT |
| LOW | strings/ctype-extra.c | 3261 | COMMENT | |
| LOW | strings/ctype-extra.c | 3541 | #ifdef HAVE_CHARSET_cp850 | COMMENT |
| LOW | strings/ctype-extra.c | 3561 | COMMENT | |
| LOW | strings/ctype-extra.c | 3581 | #endif | COMMENT |
| LOW | strings/ctype-extra.c | 3601 | #ifdef HAVE_CHARSET_cp1251 | COMMENT |
| LOW | strings/ctype-extra.c | 3621 | COMMENT | |
| LOW | strings/ctype-extra.c | 3641 | #endif | COMMENT |
| LOW | strings/ctype-extra.c | 3661 | #ifdef HAVE_CHARSET_cp850 | COMMENT |
| LOW | strings/ctype-unidata.c | 21 | #include "ctype-mb.h" | COMMENT |
| LOW | strings/ctype.c | 81 | #define _CS_UPPERMAP 10 | COMMENT |
| LOW | strings/ctype.c | 101 | #define _CS_ST_SETTINGS 200 | COMMENT |
| LOW | strings/ctype.c | 121 | #define _CS_DIFF4 305 | COMMENT |
| LOW | strings/ctype.c | 141 | #define _CS_CONTEXT 370 | COMMENT |
| LOW | strings/hasher-xxh.c | 1 | #include "strings_def.h" | COMMENT |
| LOW | strings/ctype-utf8.c | 21 | COMMENT | |
| LOW | strings/ctype-utf8.c | 41 | /* Collation names */ | COMMENT |
| LOW | strings/ctype-utf8.c | 721 | #define WEIGHT_MB3(x,y,z) my_weight_mb3_utf8mb3_general_ci(x,y,z) | COMMENT |
| LOW | strings/ctype-utf8.c | 781 | #include "strcoll.inl" | COMMENT |
| LOW | strings/ctype-utf8.c | 2641 | #undef MY_FUNCTION_NAME | COMMENT |
| LOW | strings/ctype-utf8.c | 3041 | a->levels_for_order == b->levels_for_order && | COMMENT |
| LOW | strings/ctype-utf8.c | 3061 | #define MY_WC_WEIGHT(x) my_general_ci_char_to_weight(x) | COMMENT |
| LOW | strings/ctype-utf8.c | 3081 | #define STRCOLL_MB7_BIN | COMMENT |
| LOW | strings/ctype-gbk.c | 10621 | #define WEIGHT_MB2(x,y) (gbksortorder(gbkcode(x,y))) | COMMENT |
| LOW | strings/t_ctype.h | 221 | #define _consnt 16 | COMMENT |
| LOW | strings/t_ctype.h | 241 | #define ismidvowel(c) ( _is(c) & (_ldvowel|_fllwvowel) ) | COMMENT |
| LOW | strings/unidata-dump.c | 21 | #include <string.h> | COMMENT |
| LOW | strings/ctype-euc_kr.c | 9941 | #define WEIGHT_MB1(x) ((uchar) (x)) | COMMENT |
| LOW | strings/ctype-big5.c | 6681 | } | COMMENT |
| LOW | strings/ctype-big5.c | 6701 | #define WEIGHT_MB1(x) (sort_order_big5[(uchar) (x)]) | COMMENT |
| LOW | strings/ctype-gb2312.c | 6341 | #define WEIGHT_MB2(x,y) (gb2312code(x, y)) | COMMENT |
| LOW | debian/autobake-deb.sh | 1 | #!/bin/bash | COMMENT |
| 2071 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | zlib/CMakeLists.txt | 43 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | zlib/CMakeLists.txt | 53 | #============================================================================ | COMMENT |
| MEDIUM⚡ | zlib/CMakeLists.txt | 55 | # ============================================================================ | COMMENT |
| MEDIUM | storage/duckdb/utils.sh | 3 | # ─── Color setup ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/utils.sh | 35 | # ─── Logging functions ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/utils.sh | 68 | # ─── One-liner pipe ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/utils.sh | 81 | # ─── Arrow-key menu ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/run_mtr.sh | 18 | # ─── Defaults ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/run_mtr.sh | 29 | # ─── Usage ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/run_mtr.sh | 59 | # ─── Parse args ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/run_mtr.sh | 79 | # ─── Validate ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/run_mtr.sh | 113 | # ─── Resolve extern early (affects parallel) ──────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/run_mtr.sh | 127 | # ─── Build MTR command ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/run_mtr.sh | 156 | # ─── Print summary ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | storage/duckdb/run_mtr.sh | 178 | # ─── Run ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/dheadgen.pl | 32 | # ----------------------- | COMMENT |
| MEDIUM | scripts/mysqlhotcopy.sh | 153 | # ========== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 665 | # ---------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 674 | #----------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 679 | #--------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 750 | #--------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 770 | #--------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 787 | #---------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 954 | # ================================= | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 959 | # ================================= | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 967 | # ================================= | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 970 | # ================================= | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1073 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1076 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1082 | # =========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1085 | # =========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1755 | # =========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1758 | # =========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1764 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1817 | # ---------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1826 | # ---------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1834 | # =========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 1837 | # =========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2154 | # ------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2164 | # ========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2166 | # ========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2212 | # ------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2220 | # -------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2228 | # =========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2232 | # =========================================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2249 | # -------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2256 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2260 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2451 | # ===================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2454 | # ===================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2624 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2626 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2634 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2636 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2835 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2839 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2844 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2848 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2995 | # ====================================== | COMMENT |
| MEDIUM⚡ | scripts/mysqlaccess.sh | 2999 | # ====================================== | COMMENT |
| 404 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | debian/additions/debian-start.inc.sh | 3 | # This file is included by /etc/mysql/debian-start | COMMENT |
| MEDIUM | support-files/wsrep.cnf.sh | 1 | # This file contains wsrep-related mysqld options. It should be included | COMMENT |
| MEDIUM | support-files/mysql.server.sh | 3 | # This file is public domain and comes with NO WARRANTY of any kind | COMMENT |
| MEDIUM | support-files/mysql-multi.server.sh | 3 | # This file is public domain and comes with NO WARRANTY of any kind | COMMENT |
| MEDIUM | support-files/rpm/server-prein.sh | 69 | # Create a MariaDB user and group. Do not report any problems if it already exists. | COMMENT |
| MEDIUM | tests/fork_big.pl | 91 | # Create the table we use to signal that we should end the test | COMMENT |
| MEDIUM | tests/check_costs.pl | 127 | #### Create the table | COMMENT |
| MEDIUM | tests/fork_big2.pl | 107 | # Create the table we use to signal that we should end the test | COMMENT |
| MEDIUM | tests/mail_to_db.pl | 3 | # This file is public domain and comes with NO WARRANTY of any kind | COMMENT |
| MEDIUM | …b/mysql-test/rocksdb_hotbackup/include/create_table.sh | 7 | # Creating a table after myrocks_hotbackup reaches waiting loop | COMMENT |
| MEDIUM | storage/maria/ma_test_all.sh | 3 | # This file is now deprecated and has been replaced by | COMMENT |
| MEDIUM | scripts/mysql_install_db.sh | 607 | # Create the system and help tables by passing them to "mariadbd --bootstrap" | COMMENT |
| MEDIUM | scripts/mysqld_safe.sh | 3 | # This file is public domain and comes with NO WARRANTY of any kind | COMMENT |
| MEDIUM | scripts/galera_new_cluster.sh | 3 | # This file is free software; you can redistribute it and/or modify it | COMMENT |
| MEDIUM | scripts/wsrep_sst_rsync.sh | 877 | # Create a temporary file: | COMMENT |
| MEDIUM | scripts/sys_schema/generate_sql_file.sh | 114 | # Create the gen directory | COMMENT |
| MEDIUM | scripts/sys_schema/generate_sql_file.sh | 128 | # Create the initial output file | COMMENT |
| MEDIUM | sql-bench/test-alter-table.sh | 59 | #### Create a table and fill it with data | COMMENT |
| MEDIUM | sql-bench/crash-me.sh | 4397 | "#This file is automaticly generated by crash-me $version\n\n"; | CODE |
| MEDIUM | sql-bench/bench-init.pl.sh | 407 | # Create a filename part for the machine that can be used for log file. | COMMENT |
| MEDIUM | sql-bench/limits/solid.cfg | 1 | #This file is automaticly generated by crash-me 1.19a | COMMENT |
| MEDIUM | sql-bench/limits/access.cfg | 1 | #This file is automaticly generated by crash-me 1.45 | COMMENT |
| MEDIUM | sql-bench/limits/solid-nt4.cfg | 1 | #This file is automaticly generated by crash-me 1.19a | COMMENT |
| MEDIUM | sql-bench/limits/db2.cfg | 1 | #This file is automaticly generated by crash-me 1.57 | COMMENT |
| MEDIUM | sql-bench/limits/ms-sql.cfg | 1 | #This file is automaticly generated by crash-me 1.54 | COMMENT |
| MEDIUM | sql-bench/limits/oracle.cfg | 1 | #This file is automaticly generated by crash-me 1.44a | COMMENT |
| MEDIUM | sql-bench/limits/sybase.cfg | 1 | #This file is automaticly generated by crash-me 1.19a | COMMENT |
| MEDIUM | sql-bench/limits/mimer.cfg | 1 | #This file is automaticly generated by crash-me 1.38 | COMMENT |
| MEDIUM | sql-bench/limits/empress.cfg | 1 | #This file is automaticly generated by crash-me 1.18a | COMMENT |
| MEDIUM | sql-bench/limits/ms-sql65.cfg | 1 | #This file is automaticly generated by crash-me 1.19a | COMMENT |
| MEDIUM | sql-bench/limits/interbase.cfg | 1 | #This file is automaticly generated by crash-me 1.40 | COMMENT |
| MEDIUM | sql-bench/limits/msql.cfg | 1 | #This file is automaticly generated by crash-me 1.32 | COMMENT |
| MEDIUM | sql-bench/limits/mysql.cfg | 1 | #This file is automaticly generated by crash-me 1.62 | COMMENT |
| MEDIUM | sql-bench/limits/pg.cfg | 1 | #This file is automaticly generated by crash-me 1.57 | COMMENT |
| MEDIUM | sql-bench/limits/Informix.cfg | 1 | #This file is automaticly generated by crash-me 1.19a | COMMENT |
| MEDIUM | sql-bench/limits/mysql-3.22.cfg | 1 | #This file is automaticly generated by crash-me 1.36 | COMMENT |
| MEDIUM | sql-bench/limits/mysql-3.23.cfg | 1 | #This file is automaticly generated by crash-me 1.57 | COMMENT |
| MEDIUM | sql-bench/limits/Adabas.cfg | 1 | #This file is automaticly generated by crash-me 1.20b | COMMENT |
| MEDIUM | sql-bench/limits/interbase-superserver.cfg | 1 | #This file is automaticly generated by crash-me 1.57 | COMMENT |
| MEDIUM | sql-bench/limits/mysql-4.1.cfg | 1 | #This file is automaticly generated by crash-me 1.61 | COMMENT |
| MEDIUM | sql-bench/limits/access_odbc.cfg | 1 | #This file is automaticly generated by crash-me 1.37 | COMMENT |
| MEDIUM | sql-bench/limits/mysql-4.0.cfg | 1 | #This file is automaticly generated by crash-me 1.61 | COMMENT |
| MEDIUM | sql-bench/limits/frontbase.cfg | 1 | #This file is automaticly generated by crash-me 1.52 | COMMENT |
| MEDIUM | sql-bench/limits/interbase-dialect3.cfg | 1 | #This file is automaticly generated by crash-me 1.57 | COMMENT |
| MEDIUM | sql-bench/limits/interbase-dialect1.cfg | 1 | #This file is automaticly generated by crash-me 1.57 | COMMENT |
| MEDIUM⚡ | mysql-test/mariadb-test-run.pl | 3189 | # Create the bootstrap.sql file | COMMENT |
| MEDIUM | mysql-test/mariadb-test-run.pl | 2835 | # Create the servers tmpdir | COMMENT |
| MEDIUM | mysql-test/mariadb-test-run.pl | 4962 | # Create a log of files in vardir (good for buildbot) | COMMENT |
| MEDIUM | mysql-test/mariadb-stress-test.pl | 877 | #Initialize session variables | COMMENT |
| MEDIUM⚡ | mysql-test/lib/v1/mysql-test-run.pl | 2493 | # Create the bootstrap.sql file | COMMENT |
| MEDIUM | mysql-test/lib/v1/mysql-test-run.pl | 1871 | # Create an environment variable to make it possible | COMMENT |
| MEDIUM | mysql-test/lib/v1/mtr_unique.pl | 19 | # This file is used from mysql-test-run.pl when choosing | COMMENT |
| MEDIUM | mysql-test/lib/My/Platform.pm | 160 | # Create a tempfile name with same length as "path" | COMMENT |
| MEDIUM | mysql-test/lib/My/SafeProcess/Base.pm | 96 | # Create a new process | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | support-files/rpm/server-prein.sh | 1 | # Check if we can safely upgrade. An upgrade is only safe if it's from one | COMMENT |
| LOW | tests/drop_test.pl | 135 | # Check if insert thread is ready | COMMENT |
| LOW | tests/mail_to_db.pl | 137 | # Check if the file is compressed | COMMENT |
| LOW | scripts/wsrep_sst_common.sh | 465 | # Check if the argument is the short option or the short | COMMENT |
| LOW | scripts/wsrep_sst_common.sh | 863 | # Check if the index file name contains the extension: | COMMENT |
| LOW | scripts/wsrep_sst_common.sh | 1350 | # Check if the port is in the "listen" state. | COMMENT |
| LOW | scripts/mysql_install_db.sh | 436 | # Check if hostname is valid | COMMENT |
| LOW | scripts/mysqld_safe.sh | 547 | # Check if helper exists | COMMENT |
| LOW | scripts/mysql_convert_table_format.sh | 98 | # Check if table is already converted | COMMENT |
| LOW | scripts/wsrep_sst_mysqldump.sh | 142 | # Check if binary logging is enabled on the joiner node. | COMMENT |
| LOW⚡ | scripts/mytop.sh | 353 | ## Check if the server has the INFORMATION_SCHEMA.PROCESSLIST table | COMMENT |
| LOW⚡ | scripts/mytop.sh | 360 | ## Check if the server has the TIME_MS column on the I_S.PROCESSLIST table | COMMENT |
| LOW⚡ | scripts/mytop.sh | 369 | ## Check if the server has the STAGE column on the I_S.PROCESSLIST | COMMENT |
| LOW | scripts/sys_schema/generate_sql_file.sh | 221 | # Check if sql_log_bin lines should be removed | COMMENT |
| LOW | .github/workflows/label_recent_prs.yaml | 40 | # Check if author is in the developers team | COMMENT |
| LOW | .github/workflows/label_recent_prs.yaml | 51 | # Check if author is in the staff team | COMMENT |
| LOW | sql-bench/copy-db.sh | 310 | # Check if table exists; Return 1 if table exists | COMMENT |
| LOW | sql-bench/crash-me.sh | 58 | $opt_check_server=0; # Check if server is alive before each query | CODE |
| LOW | sql-bench/crash-me.sh | 3340 | # Check if the server is up and running. If not, ask the user to restart it | COMMENT |
| LOW | sql-bench/limits/mysql-4.1.cfg | 15 | ### Check if numeric_null (NULL) is 'NULL' | COMMENT |
| LOW⚡ | sql-bench/limits/mysql-4.0.cfg | 15 | ### Check if numeric_null (NULL) is 'NULL' | COMMENT |
| LOW⚡ | sql-bench/limits/mysql-4.0.cfg | 16 | ### Check if numeric_null (NULL) is 'NULL' | COMMENT |
| LOW⚡ | sql-bench/limits/mysql-4.0.cfg | 17 | ### Check if numeric_null (NULL) is 'NULL' | COMMENT |
| LOW⚡ | mysql-test/mariadb-test-run.pl | 974 | # Check if test suite timer expired | COMMENT |
| LOW⚡ | mysql-test/mariadb-test-run.pl | 1507 | # Check if we should speed up tests by trying to run on tmpfs | COMMENT |
| LOW⚡ | mysql-test/mariadb-test-run.pl | 4240 | # Check if it was an expected crash | COMMENT |
| LOW⚡ | mysql-test/mariadb-test-run.pl | 4269 | # Check if it was a server that died | COMMENT |
| LOW⚡ | mysql-test/mariadb-test-run.pl | 4303 | # Check if testcase timer expired | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 2635 | # Check if running as root | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 4191 | # Check if the test tool requests that | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 4829 | # Check if crash expected by looking at the .expect file | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 5121 | # Check if "extra_opt" contains --log-bin | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 5340 | # Check if timezone of test that server was started | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 5531 | # Check if the server is the first one to be started in the | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 5553 | # Check if wsrep has been enabled for a server. | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 2939 | $F= undef; # Close file | CODE |
| LOW | mysql-test/mariadb-test-run.pl | 4630 | $Fwarn = undef; # Close file | CODE |
| LOW | mysql-test/mariadb-stress-test.pl | 886 | #Check if tests_file was modified and reread it in this case | COMMENT |
| LOW | mysql-test/lib/mtr_report.pm | 685 | # Print message to screen if verbose is defined | COMMENT |
| LOW | mysql-test/lib/mtr_process.pl | 124 | # Check if it died after the fork() was successful | COMMENT |
| LOW | mysql-test/lib/mtr_results.pm | 123 | # Print results for current test, then reset | COMMENT |
| LOW⚡ | mysql-test/lib/v1/mtr_report.pl | 545 | # Print message to screen and log | COMMENT |
| LOW⚡ | mysql-test/lib/v1/mtr_report.pl | 551 | # Print message to screen and log | COMMENT |
| LOW⚡ | mysql-test/lib/v1/mtr_report.pl | 557 | # Print message to screen and log | COMMENT |
| LOW⚡ | mysql-test/lib/v1/mtr_report.pl | 564 | # Print message to screen and log | COMMENT |
| LOW | mysql-test/lib/v1/mtr_process.pl | 465 | if ( kill(0, @pids) ) # Check if some left | CODE |
| LOW | mysql-test/lib/v1/mtr_process.pl | 797 | # Check if crash expected, and restart if it was | COMMENT |
| LOW | mysql-test/lib/v1/mtr_process.pl | 935 | # Check if it died after the fork() was successful | COMMENT |
| LOW⚡ | mysql-test/lib/v1/mysql-test-run.pl | 848 | # Check if we should speed up tests by trying to run on tmpfs | COMMENT |
| LOW⚡ | mysql-test/lib/v1/mysql-test-run.pl | 976 | # Check if special exe was selected for master or slave | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 1015 | # Set valgrind_options to default unless already defined | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 1216 | # Set paths to various executable programs | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 1341 | # Check if libtool is available in this distribution/clone | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 1470 | # Set environment to be used by childs of this process for | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 2118 | # Check if running as root | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 3099 | # Check if "extra_opt" contains --skip-log-bin | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 3477 | # Check if any slave is currently started | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 4080 | # Set exe to debuggername | COMMENT |
| LOW | mysql-test/lib/v1/mysql-test-run.pl | 4091 | # Set exe to debuggername | COMMENT |
| LOW | mysql-test/lib/v1/My/Config.pm | 223 | undef $F; # Close the file | CODE |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | support-files/wsrep_notify.sh | 68 | # Don't forget to properly quote string values | COMMENT |
| MEDIUM | support-files/mysql.server-sys5.sh | 3 | # This is an example SysV-init-script by Winfried Truemper that you can use | COMMENT |
| LOW | include/mysql_com.h | 99 | /* don't forget to update const char *command_name[] in sql_parse.cc */ | COMMENT |
| LOW | scripts/mysqld_multi.sh | 791 | # You can do so, but please make sure to understand and deal with the | COMMENT |
| LOW⚡ | scripts/mysqlaccess.sh | 2443 | # ."Don't forget to mention the version $VERSION!<BR>\n" | COMMENT |
| LOW⚡ | scripts/mysqlaccess.sh | 760 | my $msg1= "Don't forget to do an 'mysqladmin reload' before these\n" | CODE |
| LOW⚡ | scripts/mysqlaccess.sh | 780 | my $msg1= "Don't forget to do an 'mysqladmin reload' before these\n" | CODE |
| LOW | scripts/mysqlaccess.sh | 118 | (!don't forget to do an mysqladmin reload) | CODE |
| LOW | scripts/mysqlaccess.sh | 286 | (!don't forget to do an mysqladmin reload) | CODE |
| LOW | mysql-test/mariadb-test-run.pl | 2945 | # there should be none so make sure to warn | COMMENT |
| LOW | mysql-test/std_data/wsrep_notify.sh | 69 | # Don't forget to properly quote string values | COMMENT |
| LOW | mysql-test/std_data/wsrep_notify_ssl.sh | 69 | # Don't forget to properly quote string values | COMMENT |
| LOW | sql/log_event.h | 2227 | * When adding new status vars, please don't forget to update the | COMMENT |
| LOW | sql/sql_class.h | 3458 | here, and you add code to set them in replication, don't forget to | CODE |
| LOW | sql/privilege.h | 73 | When adding new privilege bits, don't forget to update: | CODE |
| LOW | sql/privilege.h | 273 | When changing this, don't forget to update tables_priv | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/mysql/psi/mysql_file.h | 439 | @def mysql_file_create_with_symlink(K, P1, P2, P3, P4, P5) | CODE |
| LOW | include/mysql/psi/mysql_file.h | 454 | @def mysql_file_delete_with_symlink(K, P1, P2, P3) | CODE |
| LOW | include/mysql/psi/mysql_file.h | 468 | @def mysql_file_rename_with_symlink(K, P1, P2, P3) | CODE |
| LOW | include/mysql/psi/mysql_thread.h | 277 | @def mysql_mutex_assert_not_owner(M) | CODE |
| LOW | include/mysql/psi/mysql_thread.h | 289 | @def mysql_prlock_assert_write_owner(M) | CODE |
| LOW | include/mysql/psi/mysql_thread.h | 297 | @def mysql_prlock_assert_not_write_owner(M) | CODE |
| LOW | storage/mroonga/tools/prepare-sphinx-html.rb | 60 | def insert_facebook_html_header(html) | CODE |
| LOW | storage/mroonga/tools/prepare-sphinx-html.rb | 75 | def insert_facebook_html_fb_root(html) | CODE |
| LOW | storage/mroonga/tools/prepare-sphinx-html.rb | 84 | def insert_facebook_html_buttons(html) | CODE |
| LOW | storage/mroonga/tools/prepare-sphinx-html.rb | 97 | def insert_facebook_html_footer(html, language) | CODE |
| LOW | sql/share/insert_translations_into_errmsg.py | 59 | def obtain_key_value_from_translation_line(translation_match, line): | CODE |
| LOW | sql/share/insert_translations_into_errmsg.py | 132 | def detect_leading_whitespace_from_source_lang_file(file_name): | CODE |
| LOW | sql/share/insert_translations_into_errmsg.py | 153 | def searching_for_next_header_action(state_machine_data): | CODE |
| LOW | sql/share/insert_translations_into_errmsg.py | 166 | def calculate_insert_point_action(state_machine_data): | CODE |
| LOW | sql/share/insert_translations_into_errmsg.py | 181 | def finding_insert_point_action(state_machine_data): | CODE |
| LOW | sql/share/insert_translations_into_errmsg.py | 182 | def adjust_for_comments_occuring_before_insert_point(insert_point_index, comment_locations): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | storage/rocksdb/myrocks_hotbackup.py | 397 | except Exception as e: | CODE |
| LOW | storage/rocksdb/myrocks_hotbackup.py | 417 | except Exception as e: | CODE |
| LOW | storage/rocksdb/myrocks_hotbackup.py | 513 | except Exception as e: | CODE |
| MEDIUM | storage/rocksdb/myrocks_hotbackup.py | 405 | def backup_mysql(self): | CODE |
| MEDIUM | …ocksdb/mysql-test/rocksdb/t/rocksdb_deadlock_stress.py | 47 | def run(self): | CODE |
| MEDIUM | …ksdb/mysql-test/rocksdb/t/rocksdb_concurrent_insert.py | 39 | def run(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/dheadgen.pl | 38 | # common build process on all target systems. To facilitate this, this script | COMMENT |
| LOW | scripts/wsrep_sst_common.sh | 1197 | # If the OPENSSL_BINARY variable is already defined, just return: | COMMENT |
| MEDIUM | mysql-test/mariadb-test-run.pl | 4504 | # robust. We could still have individual test cases put in suppressions by | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 3084 | # Default, just add the line without newline | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 4801 | # If any, report them to master server, and return true; else just return | COMMENT |
| LOW | mysql-test/lib/v1/mtr_process.pl | 390 | # a way to just return the number of processes the kernel can send | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/rocksdb/mysql-test/rocksdb_stress/t/load_generator.py | 109 | # passing 0 should always return false and 100 should always return true | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | storage/connect/filamtxt.cpp | 452 | /* The purpose of this function is to deal with access methods that */ | COMMENT |
| LOW | storage/connect/value.cpp | 2458 | /* though the gmtime C function. The purpose of this function is to */ | COMMENT |
| LOW | storage/connect/value.cpp | 2495 | /* mktime C function. The purpose of this function is to extend the */ | COMMENT |
| LOW | storage/connect/javaconn.cpp | 223 | /* The purpose of this function is to allow using the CONNECT plugin */ | COMMENT |
| LOW | sql/item_cmpfunc.h | 1662 | The purpose of this function is to be able to get elements of this | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | debian/additions/source_mariadb.py | 7 | CODE | |
| LOW | debian/additions/source_mariadb.py | 7 | CODE | |
| LOW | storage/rocksdb/myrocks_hotbackup.py | 3 | CODE | |
| LOW | storage/rocksdb/myrocks_hotbackup.py | 22 | CODE | |
| LOW | storage/rocksdb/myrocks_hotbackup.py | 22 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | storage/rocksdb/myrocks_hotbackup.py | 645 | CODE | |
| LOW | storage/rocksdb/myrocks_hotbackup.py | 202 | CODE | |
| LOW | sql/share/insert_translations_into_errmsg.py | 66 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | storage/mroonga/lib/mrn_time_converter.cpp | 205 | // TODO: Add error check | COMMENT |
| LOW | storage/mroonga/lib/mrn_time_converter.cpp | 220 | // TODO: Add error check | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | storage/duckdb/utils.sh | 82 | # Usage: | COMMENT |
| LOW | storage/connect/skipset.h | 20 | // Example usage: | COMMENT |