Skip to content

Commit ab476d6

Browse files
committed
AC-11995:Add compatibility with MySQL 8.4 LTS for Magento CE
1 parent b0e3d15 commit ab476d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup/src/Magento/Setup/Model/Installer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,8 +1856,8 @@ private function disableRestrictFKOnNonStandardKey($setup): void
18561856
*/
18571857
private function revertRestrictFKOnNonStandardKey($setup): void
18581858
{
1859-
$setup->getConnection()->query("
1860-
SET @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=IF(@OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=0, 0, 1)"
1861-
);
1859+
// $setup->getConnection()->query("
1860+
// SET @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=IF(@OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=0, 0, 1)"
1861+
// );
18621862
}
18631863
}

0 commit comments

Comments
 (0)