Repository Analysis

MariaDB/server

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.

2.7 Likely human-written View on GitHub

Analysis Overview

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).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
7.9K
Stars
C++
Language
1.2M
Lines of Code
2.9K
Files
2.8K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 1MEDIUM 524LOW 2256

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block2131 hits · 1723 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# Copyright (c) 2006, 2017, Oracle and/or its affiliates.COMMENT
LOW.gitlab-ci.yml1---COMMENT
LOW.gitlab-ci.yml41# many components that are otherwise slow to build.COMMENT
LOW.gitlab-ci.yml421 - >COMMENT
LOW.gitlab-ci.yml561# stage: Salsa-CICOMMENT
LOWman/CMakeLists.txt1# Copyright (c) 2012, 2020, MariaDBCOMMENT
LOWunittest/unit.pl1#!/usr/bin/env perlCOMMENT
LOWunittest/json_lib/CMakeLists.txt1# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.COMMENT
LOWunittest/strings/strings-t.c101#endifCOMMENT
LOWunittest/my_decimal/CMakeLists.txt1# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.COMMENT
LOWunittest/mytap/CMakeLists.txt1# Copyright (c) 2007 MySQL AB, 2010 Oracle and/or its affiliates. All rights reserved.COMMENT
LOWunittest/examples/CMakeLists.txt1# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.COMMENT
LOWunittest/mysys/CMakeLists.txt1# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.COMMENT
LOWunittest/mysys/my_symlink-t.c1#include <my_global.h>COMMENT
LOWunittest/sql/CMakeLists.txt1# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.COMMENT
LOWstrings/xml.c21COMMENT
LOWstrings/ctype-ucs2.c21#include "strings_def.h"COMMENT
LOWstrings/ctype-ucs2.c41#endifCOMMENT
LOWstrings/ctype-ucs2.c1241#include "ctype-utf16.h"COMMENT
LOWstrings/ctype-ucs2.c1261COMMENT
LOWstrings/ctype-ucs2.c1741#define WEIGHT_MB2(b0,b1) my_weight_mb2_utf16mb2_general_ci(b1,b0)COMMENT
LOWstrings/ctype-ucs2.c2101 my_wc_t wc= MY_UTF32_WC4(b0, b1, b2, b3);COMMENT
LOWstrings/ctype-ucs2.c2941}COMMENT
LOWstrings/ctype-ucs2.c2961#define WEIGHT_ILSEQ(x) (0xFF0000 + (uchar) (x))COMMENT
LOWstrings/CMakeLists.txt1# Copyright (c) 2006, 2014, Oracle and/or its affiliatesCOMMENT
LOWstrings/dtoa.c561#define dval(x) (x)->dCOMMENT
LOWstrings/dtoa.c581#define Ten_pmax 22COMMENT
LOWstrings/dtoa.c601#define Rounding roundingCOMMENT
LOWstrings/ctype-extra.c3241#ifdef HAVE_CHARSET_cp866COMMENT
LOWstrings/ctype-extra.c3261COMMENT
LOWstrings/ctype-extra.c3541#ifdef HAVE_CHARSET_cp850COMMENT
LOWstrings/ctype-extra.c3561COMMENT
LOWstrings/ctype-extra.c3581#endifCOMMENT
LOWstrings/ctype-extra.c3601#ifdef HAVE_CHARSET_cp1251COMMENT
LOWstrings/ctype-extra.c3621COMMENT
LOWstrings/ctype-extra.c3641#endifCOMMENT
LOWstrings/ctype-extra.c3661#ifdef HAVE_CHARSET_cp850COMMENT
LOWstrings/ctype-unidata.c21#include "ctype-mb.h"COMMENT
LOWstrings/ctype.c81#define _CS_UPPERMAP 10COMMENT
LOWstrings/ctype.c101#define _CS_ST_SETTINGS 200COMMENT
LOWstrings/ctype.c121#define _CS_DIFF4 305COMMENT
LOWstrings/ctype.c141#define _CS_CONTEXT 370COMMENT
LOWstrings/hasher-xxh.c1#include "strings_def.h"COMMENT
LOWstrings/ctype-utf8.c21COMMENT
LOWstrings/ctype-utf8.c41/* Collation names */COMMENT
LOWstrings/ctype-utf8.c721#define WEIGHT_MB3(x,y,z) my_weight_mb3_utf8mb3_general_ci(x,y,z)COMMENT
LOWstrings/ctype-utf8.c781#include "strcoll.inl"COMMENT
LOWstrings/ctype-utf8.c2641#undef MY_FUNCTION_NAMECOMMENT
LOWstrings/ctype-utf8.c3041 a->levels_for_order == b->levels_for_order &&COMMENT
LOWstrings/ctype-utf8.c3061#define MY_WC_WEIGHT(x) my_general_ci_char_to_weight(x)COMMENT
LOWstrings/ctype-utf8.c3081#define STRCOLL_MB7_BINCOMMENT
LOWstrings/ctype-gbk.c10621#define WEIGHT_MB2(x,y) (gbksortorder(gbkcode(x,y)))COMMENT
LOWstrings/t_ctype.h221#define _consnt 16COMMENT
LOWstrings/t_ctype.h241#define ismidvowel(c) ( _is(c) & (_ldvowel|_fllwvowel) )COMMENT
LOWstrings/unidata-dump.c21#include <string.h>COMMENT
LOWstrings/ctype-euc_kr.c9941#define WEIGHT_MB1(x) ((uchar) (x))COMMENT
LOWstrings/ctype-big5.c6681}COMMENT
LOWstrings/ctype-big5.c6701#define WEIGHT_MB1(x) (sort_order_big5[(uchar) (x)])COMMENT
LOWstrings/ctype-gb2312.c6341#define WEIGHT_MB2(x,y) (gb2312code(x, y))COMMENT
LOWdebian/autobake-deb.sh1#!/bin/bashCOMMENT
2071 more matches not shown…
Decorative Section Separators464 hits · 1176 pts
SeverityFileLineSnippetContext
MEDIUMzlib/CMakeLists.txt43# ============================================================================COMMENT
MEDIUMzlib/CMakeLists.txt53#============================================================================COMMENT
MEDIUMzlib/CMakeLists.txt55# ============================================================================COMMENT
MEDIUMstorage/duckdb/utils.sh3# ─── Color setup ────────────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/utils.sh35# ─── Logging functions ──────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/utils.sh68# ─── One-liner pipe ─────────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/utils.sh81# ─── Arrow-key menu ─────────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/run_mtr.sh18# ─── Defaults ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/run_mtr.sh29# ─── Usage ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/run_mtr.sh59# ─── Parse args ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/run_mtr.sh79# ─── Validate ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/run_mtr.sh113# ─── Resolve extern early (affects parallel) ────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/run_mtr.sh127# ─── Build MTR command ──────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/run_mtr.sh156# ─── Print summary ──────────────────────────────────────────────────────────────COMMENT
MEDIUMstorage/duckdb/run_mtr.sh178# ─── Run ────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/dheadgen.pl32# -----------------------COMMENT
MEDIUMscripts/mysqlhotcopy.sh153# ==========COMMENT
MEDIUMscripts/mysqlaccess.sh665# ----------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh674#-----------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh679#---------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh750#---------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh770#---------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh787#----------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh954# =================================COMMENT
MEDIUMscripts/mysqlaccess.sh959# =================================COMMENT
MEDIUMscripts/mysqlaccess.sh967# =================================COMMENT
MEDIUMscripts/mysqlaccess.sh970# =================================COMMENT
MEDIUMscripts/mysqlaccess.sh1073# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh1076# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh1082# ===========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh1085# ===========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh1755# ===========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh1758# ===========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh1764 # -----------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh1817 # ----------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh1826 # ----------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh1834# ===========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh1837# ===========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh2154 # -------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh2164# ==========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh2166# ==========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh2212 # -------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh2220 # --------------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh2228# ===========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh2232# ===========================================================COMMENT
MEDIUMscripts/mysqlaccess.sh2249 # --------------COMMENT
MEDIUMscripts/mysqlaccess.sh2256# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2260# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2451# =====================================COMMENT
MEDIUMscripts/mysqlaccess.sh2454# =====================================COMMENT
MEDIUMscripts/mysqlaccess.sh2624# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2626# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2634# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2636# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2835# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2839# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2844 # -----------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh2848 # -----------------------------COMMENT
MEDIUMscripts/mysqlaccess.sh2995# ======================================COMMENT
MEDIUMscripts/mysqlaccess.sh2999# ======================================COMMENT
404 more matches not shown…
Self-Referential Comments54 hits · 155 pts
SeverityFileLineSnippetContext
MEDIUMdebian/additions/debian-start.inc.sh3# This file is included by /etc/mysql/debian-startCOMMENT
MEDIUMsupport-files/wsrep.cnf.sh1# This file contains wsrep-related mysqld options. It should be includedCOMMENT
MEDIUMsupport-files/mysql.server.sh3# This file is public domain and comes with NO WARRANTY of any kindCOMMENT
MEDIUMsupport-files/mysql-multi.server.sh3# This file is public domain and comes with NO WARRANTY of any kindCOMMENT
MEDIUMsupport-files/rpm/server-prein.sh69# Create a MariaDB user and group. Do not report any problems if it already exists.COMMENT
MEDIUMtests/fork_big.pl91 # Create the table we use to signal that we should end the testCOMMENT
MEDIUMtests/check_costs.pl127#### Create the tableCOMMENT
MEDIUMtests/fork_big2.pl107 # Create the table we use to signal that we should end the testCOMMENT
MEDIUMtests/mail_to_db.pl3# This file is public domain and comes with NO WARRANTY of any kindCOMMENT
MEDIUM…b/mysql-test/rocksdb_hotbackup/include/create_table.sh7# Creating a table after myrocks_hotbackup reaches waiting loopCOMMENT
MEDIUMstorage/maria/ma_test_all.sh3# This file is now deprecated and has been replaced byCOMMENT
MEDIUMscripts/mysql_install_db.sh607# Create the system and help tables by passing them to "mariadbd --bootstrap"COMMENT
MEDIUMscripts/mysqld_safe.sh3# This file is public domain and comes with NO WARRANTY of any kindCOMMENT
MEDIUMscripts/galera_new_cluster.sh3# This file is free software; you can redistribute it and/or modify itCOMMENT
MEDIUMscripts/wsrep_sst_rsync.sh877 # Create a temporary file:COMMENT
MEDIUMscripts/sys_schema/generate_sql_file.sh114# Create the gen directoryCOMMENT
MEDIUMscripts/sys_schema/generate_sql_file.sh128# Create the initial output fileCOMMENT
MEDIUMsql-bench/test-alter-table.sh59#### Create a table and fill it with dataCOMMENT
MEDIUMsql-bench/crash-me.sh4397 "#This file is automaticly generated by crash-me $version\n\n";CODE
MEDIUMsql-bench/bench-init.pl.sh407# Create a filename part for the machine that can be used for log file.COMMENT
MEDIUMsql-bench/limits/solid.cfg1#This file is automaticly generated by crash-me 1.19aCOMMENT
MEDIUMsql-bench/limits/access.cfg1#This file is automaticly generated by crash-me 1.45COMMENT
MEDIUMsql-bench/limits/solid-nt4.cfg1#This file is automaticly generated by crash-me 1.19aCOMMENT
MEDIUMsql-bench/limits/db2.cfg1#This file is automaticly generated by crash-me 1.57COMMENT
MEDIUMsql-bench/limits/ms-sql.cfg1#This file is automaticly generated by crash-me 1.54COMMENT
MEDIUMsql-bench/limits/oracle.cfg1#This file is automaticly generated by crash-me 1.44aCOMMENT
MEDIUMsql-bench/limits/sybase.cfg1#This file is automaticly generated by crash-me 1.19aCOMMENT
MEDIUMsql-bench/limits/mimer.cfg1#This file is automaticly generated by crash-me 1.38COMMENT
MEDIUMsql-bench/limits/empress.cfg1#This file is automaticly generated by crash-me 1.18aCOMMENT
MEDIUMsql-bench/limits/ms-sql65.cfg1#This file is automaticly generated by crash-me 1.19aCOMMENT
MEDIUMsql-bench/limits/interbase.cfg1#This file is automaticly generated by crash-me 1.40COMMENT
MEDIUMsql-bench/limits/msql.cfg1#This file is automaticly generated by crash-me 1.32COMMENT
MEDIUMsql-bench/limits/mysql.cfg1#This file is automaticly generated by crash-me 1.62COMMENT
MEDIUMsql-bench/limits/pg.cfg1#This file is automaticly generated by crash-me 1.57COMMENT
MEDIUMsql-bench/limits/Informix.cfg1#This file is automaticly generated by crash-me 1.19aCOMMENT
MEDIUMsql-bench/limits/mysql-3.22.cfg1#This file is automaticly generated by crash-me 1.36COMMENT
MEDIUMsql-bench/limits/mysql-3.23.cfg1#This file is automaticly generated by crash-me 1.57COMMENT
MEDIUMsql-bench/limits/Adabas.cfg1#This file is automaticly generated by crash-me 1.20bCOMMENT
MEDIUMsql-bench/limits/interbase-superserver.cfg1#This file is automaticly generated by crash-me 1.57COMMENT
MEDIUMsql-bench/limits/mysql-4.1.cfg1#This file is automaticly generated by crash-me 1.61COMMENT
MEDIUMsql-bench/limits/access_odbc.cfg1#This file is automaticly generated by crash-me 1.37COMMENT
MEDIUMsql-bench/limits/mysql-4.0.cfg1#This file is automaticly generated by crash-me 1.61COMMENT
MEDIUMsql-bench/limits/frontbase.cfg1#This file is automaticly generated by crash-me 1.52COMMENT
MEDIUMsql-bench/limits/interbase-dialect3.cfg1#This file is automaticly generated by crash-me 1.57COMMENT
MEDIUMsql-bench/limits/interbase-dialect1.cfg1#This file is automaticly generated by crash-me 1.57COMMENT
MEDIUMmysql-test/mariadb-test-run.pl3189 # Create the bootstrap.sql fileCOMMENT
MEDIUMmysql-test/mariadb-test-run.pl2835 # Create the servers tmpdirCOMMENT
MEDIUMmysql-test/mariadb-test-run.pl4962 # Create a log of files in vardir (good for buildbot)COMMENT
MEDIUMmysql-test/mariadb-stress-test.pl877 #Initialize session variablesCOMMENT
MEDIUMmysql-test/lib/v1/mysql-test-run.pl2493 # Create the bootstrap.sql fileCOMMENT
MEDIUMmysql-test/lib/v1/mysql-test-run.pl1871 # Create an environment variable to make it possibleCOMMENT
MEDIUMmysql-test/lib/v1/mtr_unique.pl19# This file is used from mysql-test-run.pl when choosingCOMMENT
MEDIUMmysql-test/lib/My/Platform.pm160 # Create a tempfile name with same length as "path"COMMENT
MEDIUMmysql-test/lib/My/SafeProcess/Base.pm96# Create a new processCOMMENT
Redundant / Tautological Comments70 hits · 93 pts
SeverityFileLineSnippetContext
LOWsupport-files/rpm/server-prein.sh1# Check if we can safely upgrade. An upgrade is only safe if it's from oneCOMMENT
LOWtests/drop_test.pl135 # Check if insert thread is readyCOMMENT
LOWtests/mail_to_db.pl137 # Check if the file is compressedCOMMENT
LOWscripts/wsrep_sst_common.sh465 # Check if the argument is the short option or the shortCOMMENT
LOWscripts/wsrep_sst_common.sh863 # Check if the index file name contains the extension:COMMENT
LOWscripts/wsrep_sst_common.sh1350# Check if the port is in the "listen" state.COMMENT
LOWscripts/mysql_install_db.sh436# Check if hostname is validCOMMENT
LOWscripts/mysqld_safe.sh547# Check if helper existsCOMMENT
LOWscripts/mysql_convert_table_format.sh98 # Check if table is already convertedCOMMENT
LOWscripts/wsrep_sst_mysqldump.sh142# Check if binary logging is enabled on the joiner node.COMMENT
LOWscripts/mytop.sh353## Check if the server has the INFORMATION_SCHEMA.PROCESSLIST tableCOMMENT
LOWscripts/mytop.sh360 ## Check if the server has the TIME_MS column on the I_S.PROCESSLIST tableCOMMENT
LOWscripts/mytop.sh369 ## Check if the server has the STAGE column on the I_S.PROCESSLISTCOMMENT
LOWscripts/sys_schema/generate_sql_file.sh221# Check if sql_log_bin lines should be removedCOMMENT
LOW.github/workflows/label_recent_prs.yaml40 # Check if author is in the developers teamCOMMENT
LOW.github/workflows/label_recent_prs.yaml51 # Check if author is in the staff teamCOMMENT
LOWsql-bench/copy-db.sh310# Check if table exists; Return 1 if table existsCOMMENT
LOWsql-bench/crash-me.sh58$opt_check_server=0; # Check if server is alive before each queryCODE
LOWsql-bench/crash-me.sh3340# Check if the server is up and running. If not, ask the user to restart itCOMMENT
LOWsql-bench/limits/mysql-4.1.cfg15 ### Check if numeric_null (NULL) is 'NULL'COMMENT
LOWsql-bench/limits/mysql-4.0.cfg15 ### Check if numeric_null (NULL) is 'NULL'COMMENT
LOWsql-bench/limits/mysql-4.0.cfg16 ### Check if numeric_null (NULL) is 'NULL'COMMENT
LOWsql-bench/limits/mysql-4.0.cfg17 ### Check if numeric_null (NULL) is 'NULL'COMMENT
LOWmysql-test/mariadb-test-run.pl974 # Check if test suite timer expiredCOMMENT
LOWmysql-test/mariadb-test-run.pl1507 # Check if we should speed up tests by trying to run on tmpfsCOMMENT
LOWmysql-test/mariadb-test-run.pl4240 # Check if it was an expected crashCOMMENT
LOWmysql-test/mariadb-test-run.pl4269 # Check if it was a server that diedCOMMENT
LOWmysql-test/mariadb-test-run.pl4303 # Check if testcase timer expiredCOMMENT
LOWmysql-test/mariadb-test-run.pl2635# Check if running as rootCOMMENT
LOWmysql-test/mariadb-test-run.pl4191 # Check if the test tool requests thatCOMMENT
LOWmysql-test/mariadb-test-run.pl4829 # Check if crash expected by looking at the .expect fileCOMMENT
LOWmysql-test/mariadb-test-run.pl5121 # Check if "extra_opt" contains --log-binCOMMENT
LOWmysql-test/mariadb-test-run.pl5340 # Check if timezone of test that server was startedCOMMENT
LOWmysql-test/mariadb-test-run.pl5531# Check if the server is the first one to be started in theCOMMENT
LOWmysql-test/mariadb-test-run.pl5553# Check if wsrep has been enabled for a server.COMMENT
LOWmysql-test/mariadb-test-run.pl2939 $F= undef; # Close fileCODE
LOWmysql-test/mariadb-test-run.pl4630 $Fwarn = undef; # Close fileCODE
LOWmysql-test/mariadb-stress-test.pl886 #Check if tests_file was modified and reread it in this caseCOMMENT
LOWmysql-test/lib/mtr_report.pm685# Print message to screen if verbose is definedCOMMENT
LOWmysql-test/lib/mtr_process.pl124 # Check if it died after the fork() was successfulCOMMENT
LOWmysql-test/lib/mtr_results.pm123# Print results for current test, then resetCOMMENT
LOWmysql-test/lib/v1/mtr_report.pl545 # Print message to screen and logCOMMENT
LOWmysql-test/lib/v1/mtr_report.pl551 # Print message to screen and logCOMMENT
LOWmysql-test/lib/v1/mtr_report.pl557 # Print message to screen and logCOMMENT
LOWmysql-test/lib/v1/mtr_report.pl564 # Print message to screen and logCOMMENT
LOWmysql-test/lib/v1/mtr_process.pl465 if ( kill(0, @pids) ) # Check if some leftCODE
LOWmysql-test/lib/v1/mtr_process.pl797 # Check if crash expected, and restart if it wasCOMMENT
LOWmysql-test/lib/v1/mtr_process.pl935 # Check if it died after the fork() was successfulCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl848 # Check if we should speed up tests by trying to run on tmpfsCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl976 # Check if special exe was selected for master or slaveCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl1015 # Set valgrind_options to default unless already definedCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl1216# Set paths to various executable programsCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl1341 # Check if libtool is available in this distribution/cloneCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl1470# Set environment to be used by childs of this process forCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl2118 # Check if running as rootCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl3099 # Check if "extra_opt" contains --skip-log-binCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl3477 # Check if any slave is currently startedCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl4080 # Set exe to debuggernameCOMMENT
LOWmysql-test/lib/v1/mysql-test-run.pl4091 # Set exe to debuggernameCOMMENT
LOWmysql-test/lib/v1/My/Config.pm223 undef $F; # Close the fileCODE
10 more matches not shown…
Slop Phrases16 hits · 19 pts
SeverityFileLineSnippetContext
LOWsupport-files/wsrep_notify.sh68 # Don't forget to properly quote string valuesCOMMENT
MEDIUMsupport-files/mysql.server-sys5.sh3# This is an example SysV-init-script by Winfried Truemper that you can useCOMMENT
LOWinclude/mysql_com.h99 /* don't forget to update const char *command_name[] in sql_parse.cc */COMMENT
LOWscripts/mysqld_multi.sh791# You can do so, but please make sure to understand and deal with theCOMMENT
LOWscripts/mysqlaccess.sh2443# ."Don't forget to mention the version $VERSION!<BR>\n"COMMENT
LOWscripts/mysqlaccess.sh760 my $msg1= "Don't forget to do an 'mysqladmin reload' before these\n"CODE
LOWscripts/mysqlaccess.sh780 my $msg1= "Don't forget to do an 'mysqladmin reload' before these\n"CODE
LOWscripts/mysqlaccess.sh118 (!don't forget to do an mysqladmin reload)CODE
LOWscripts/mysqlaccess.sh286 (!don't forget to do an mysqladmin reload)CODE
LOWmysql-test/mariadb-test-run.pl2945# there should be none so make sure to warnCOMMENT
LOWmysql-test/std_data/wsrep_notify.sh69 # Don't forget to properly quote string valuesCOMMENT
LOWmysql-test/std_data/wsrep_notify_ssl.sh69 # Don't forget to properly quote string valuesCOMMENT
LOWsql/log_event.h2227 * When adding new status vars, please don't forget to update theCOMMENT
LOWsql/sql_class.h3458 here, and you add code to set them in replication, don't forget toCODE
LOWsql/privilege.h73 When adding new privilege bits, don't forget to update:CODE
LOWsql/privilege.h273 When changing this, don't forget to update tables_privCODE
Hyper-Verbose Identifiers16 hits · 16 pts
SeverityFileLineSnippetContext
LOWinclude/mysql/psi/mysql_file.h439 @def mysql_file_create_with_symlink(K, P1, P2, P3, P4, P5)CODE
LOWinclude/mysql/psi/mysql_file.h454 @def mysql_file_delete_with_symlink(K, P1, P2, P3)CODE
LOWinclude/mysql/psi/mysql_file.h468 @def mysql_file_rename_with_symlink(K, P1, P2, P3)CODE
LOWinclude/mysql/psi/mysql_thread.h277 @def mysql_mutex_assert_not_owner(M)CODE
LOWinclude/mysql/psi/mysql_thread.h289 @def mysql_prlock_assert_write_owner(M)CODE
LOWinclude/mysql/psi/mysql_thread.h297 @def mysql_prlock_assert_not_write_owner(M)CODE
LOWstorage/mroonga/tools/prepare-sphinx-html.rb60def insert_facebook_html_header(html)CODE
LOWstorage/mroonga/tools/prepare-sphinx-html.rb75def insert_facebook_html_fb_root(html)CODE
LOWstorage/mroonga/tools/prepare-sphinx-html.rb84def insert_facebook_html_buttons(html)CODE
LOWstorage/mroonga/tools/prepare-sphinx-html.rb97def insert_facebook_html_footer(html, language)CODE
LOWsql/share/insert_translations_into_errmsg.py59def obtain_key_value_from_translation_line(translation_match, line):CODE
LOWsql/share/insert_translations_into_errmsg.py132def detect_leading_whitespace_from_source_lang_file(file_name):CODE
LOWsql/share/insert_translations_into_errmsg.py153def searching_for_next_header_action(state_machine_data):CODE
LOWsql/share/insert_translations_into_errmsg.py166def calculate_insert_point_action(state_machine_data):CODE
LOWsql/share/insert_translations_into_errmsg.py181def finding_insert_point_action(state_machine_data):CODE
LOWsql/share/insert_translations_into_errmsg.py182 def adjust_for_comments_occuring_before_insert_point(insert_point_index, comment_locations):CODE
Excessive Try-Catch Wrapping6 hits · 9 pts
SeverityFileLineSnippetContext
LOWstorage/rocksdb/myrocks_hotbackup.py397 except Exception as e:CODE
LOWstorage/rocksdb/myrocks_hotbackup.py417 except Exception as e:CODE
LOWstorage/rocksdb/myrocks_hotbackup.py513 except Exception as e:CODE
MEDIUMstorage/rocksdb/myrocks_hotbackup.py405def backup_mysql(self):CODE
MEDIUM…ocksdb/mysql-test/rocksdb/t/rocksdb_deadlock_stress.py47def run(self):CODE
MEDIUM…ksdb/mysql-test/rocksdb/t/rocksdb_concurrent_insert.py39def run(self):CODE
AI Slop Vocabulary6 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMscripts/dheadgen.pl38# common build process on all target systems. To facilitate this, this scriptCOMMENT
LOWscripts/wsrep_sst_common.sh1197 # If the OPENSSL_BINARY variable is already defined, just return:COMMENT
MEDIUMmysql-test/mariadb-test-run.pl4504 # robust. We could still have individual test cases put in suppressions byCOMMENT
LOWmysql-test/mariadb-test-run.pl3084 # Default, just add the line without newlineCOMMENT
LOWmysql-test/mariadb-test-run.pl4801# If any, report them to master server, and return true; else just returnCOMMENT
LOWmysql-test/lib/v1/mtr_process.pl390 # a way to just return the number of processes the kernel can sendCOMMENT
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…/rocksdb/mysql-test/rocksdb_stress/t/load_generator.py109# passing 0 should always return false and 100 should always return trueCOMMENT
Verbosity Indicators5 hits · 7 pts
SeverityFileLineSnippetContext
LOWstorage/connect/filamtxt.cpp452/* The purpose of this function is to deal with access methods that */COMMENT
LOWstorage/connect/value.cpp2458/* though the gmtime C function. The purpose of this function is to */COMMENT
LOWstorage/connect/value.cpp2495/* mktime C function. The purpose of this function is to extend the */COMMENT
LOWstorage/connect/javaconn.cpp223/* The purpose of this function is to allow using the CONNECT plugin */COMMENT
LOWsql/item_cmpfunc.h1662 The purpose of this function is to be able to get elements of thisCODE
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWdebian/additions/source_mariadb.py7CODE
LOWdebian/additions/source_mariadb.py7CODE
LOWstorage/rocksdb/myrocks_hotbackup.py3CODE
LOWstorage/rocksdb/myrocks_hotbackup.py22CODE
LOWstorage/rocksdb/myrocks_hotbackup.py22CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWstorage/rocksdb/myrocks_hotbackup.py645CODE
LOWstorage/rocksdb/myrocks_hotbackup.py202CODE
LOWsql/share/insert_translations_into_errmsg.py66CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWstorage/mroonga/lib/mrn_time_converter.cpp205 // TODO: Add error checkCOMMENT
LOWstorage/mroonga/lib/mrn_time_converter.cpp220 // TODO: Add error checkCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWstorage/duckdb/utils.sh82# Usage:COMMENT
LOWstorage/connect/skipset.h20// Example usage:COMMENT