Skip to content

Commit ebd865c

Browse files
committed
AC-9755: Fix Unit for 11.4
1 parent eea400e commit ebd865c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,9 @@ public function compile(StatementAggregator $statementAggregator, $dryRun)
347347
*/
348348
private function isNeedToSplitSql() : bool
349349
{
350-
return $this->sqlVersionProvider->isMariaDbEngine();
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) ||
352+
str_contains($this->sqlVersionProvider->getSqlVersion(), SqlVersionProvider::MARIA_DB_11_4_VERSION);
351353
}
352354

353355
/**

0 commit comments

Comments
 (0)