Skip to content

Commit

Permalink
Update DbDumperFactory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Aug 7, 2023
1 parent 9be1b7f commit 2d37340
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Tasks/Backup/DbDumperFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public static function createFromConnection(string $dbConnectionName): DbDumper
->setPassword($dbConfig['password'] ?? '');

if ($dbDumper instanceof MySql) {
$dbDumper->setDefaultCharacterSet($dbConfig['charset'] ?? '')
$dbDumper
->setDefaultCharacterSet($dbConfig['charset'] ?? '')
->setGtidPurged($dbConfig['dump']['mysql_gtid_purged'] ?? 'AUTO');
}

Expand Down

0 comments on commit 2d37340

Please sign in to comment.