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 summarizes scanner evidence for MariaDB/server, a C++ project with 8,496 GitHub stars. SynthScan examined 1,227,148 lines of code across 2898 source files, recording 2778 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 2.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 2300 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 488 finding(s).
Which changes need focused human review? 2778 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2778 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 |
| 2065 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 |
| 406 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 | include/mysql/generate_plugin_api_docs.sh | 67 | # Create the markdown output directory | 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 | 895 | # 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 | 3199 | # Create the bootstrap.sql file | COMMENT |
| MEDIUM | mysql-test/mariadb-test-run.pl | 2845 | # Create the servers tmpdir | COMMENT |
| MEDIUM | mysql-test/mariadb-test-run.pl | 4989 | # 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 | 223 | # 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 | 4250 | # Check if it was an expected crash | COMMENT |
| LOW⚡ | mysql-test/mariadb-test-run.pl | 4279 | # Check if it was a server that died | COMMENT |
| LOW⚡ | mysql-test/mariadb-test-run.pl | 4313 | # Check if testcase timer expired | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 2645 | # Check if running as root | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 4201 | # Check if the test tool requests that | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 4839 | # Check if crash expected by looking at the .expect file | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 5148 | # Check if "extra_opt" contains --log-bin | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 5367 | # Check if timezone of test that server was started | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 5583 | # Check if the server is the first one to be started in the | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 5605 | # Check if wsrep has been enabled for a server. | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 2949 | $F= undef; # Close file | CODE |
| LOW | mysql-test/mariadb-test-run.pl | 4640 | $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 | 793 | # 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 | 2955 | # 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 | 2267 | * When adding new status vars, please don't forget to update the | COMMENT |
| LOW | sql/sql_class.h | 3463 | 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 | 4514 | # robust. We could still have individual test cases put in suppressions by | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 3094 | # Default, just add the line without newline | COMMENT |
| LOW | mysql-test/mariadb-test-run.pl | 4811 | # 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 |