We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aef1158 commit aa5f61bCopy full SHA for aa5f61b
src/Context/FeatureContext.php
@@ -1168,6 +1168,11 @@ private function set_cache_dir(): void {
1168
/**
1169
* Check if the given binary path is for MariaDB.
1170
*
1171
+ * Checks if the binary name contains 'mariadb' to distinguish MariaDB from MySQL.
1172
+ * This is a simple heuristic that works for standard installations where the
1173
+ * binary is named 'mariadb' or 'mariadb-dump'. Custom builds with non-standard
1174
+ * naming may not be detected correctly.
1175
+ *
1176
* @param string $binary_path Path to the database binary.
1177
* @return bool True if MariaDB, false otherwise.
1178
*/
0 commit comments