Skip to content

Commit 0fc01d9

Browse files
committed
AC-9755: Fix issue with MariaDB 11.4
1 parent 9cce157 commit 0fc01d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/Magento/Framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaWriter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,7 @@ public function compile(StatementAggregator $statementAggregator, $dryRun)
347347
*/
348348
private function isNeedToSplitSql() : bool
349349
{
350-
return str_contains($this->sqlVersionProvider->getSqlVersion(), SqlVersionProvider::MARIA_DB_10_4_VERSION) ||
351-
str_contains($this->sqlVersionProvider->getSqlVersion(), SqlVersionProvider::MARIA_DB_10_6_VERSION);
350+
return $this->sqlVersionProvider->isMariaDbEngine();
352351
}
353352

354353
/**

0 commit comments

Comments
 (0)