Skip to content

Commit 9cce157

Browse files
djadobe16glo17680
authored andcommitted
AC-13242::Magento upgrade fails on MariaDB 11.4 + 2.4.8-beta1
1 parent 85b6119 commit 9cce157

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ public function getTableOptions($tableName, $resource)
5757
$collationNameColumn = 'charset_applicability.collation_name';
5858

5959
/* In case of mariadb>=11.4 check if column FULL_COLLATION_NAME is exist */
60-
if($adapter->tableColumnExists('COLLATION_CHARACTER_SET_APPLICABILITY',
61-
'FULL_COLLATION_NAME',
62-
'information_schema')){
60+
if ($adapter->tableColumnExists(
61+
'COLLATION_CHARACTER_SET_APPLICABILITY',
62+
'FULL_COLLATION_NAME',
63+
'information_schema'
64+
)) {
6365
$collationNameColumn = 'charset_applicability.full_collation_name';
6466
}
6567

0 commit comments

Comments
 (0)