Skip to content

Commit

Permalink
Use mariadb executable where possible (#6128)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebymikey authored Oct 11, 2024
1 parent 881a2bd commit 5432b85
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Sql/SqlMariaDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ class SqlMariaDB extends SqlMysql
{
use ExecTrait;

public function command(): string
{
if (self::programExists('mariadb')) {
return 'mariadb';
}
return parent::command();
}

public function dumpProgram(): string
{
if (self::programExists('mariadb-dump')) {
Expand Down

0 comments on commit 5432b85

Please sign in to comment.