Skip to content

Commit 7a6d2b8

Browse files
committed
AC-11995:Add compatibility with MySQL 8.4 LTS for Magento CE
1 parent 3fae211 commit 7a6d2b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/tests/setup-integration/testsuite/Magento/Setup/DeclarativeInstallerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ public function testInstallationWithConstraintsModification()
208208
['Magento_TestSetupDeclarationModule1']
209209
);
210210
$this->updateDbSchemaRevision('constraint_modifications');
211-
$adapter = $this->resourceConnection->getConnection("default");
212-
$adapter->query("SET @OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=@@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY, @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=0");
211+
// $adapter = $this->resourceConnection->getConnection("default");
212+
// $adapter->query("SET @OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=@@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY, @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=0");
213213
$this->cliCommand->upgrade();
214214

215215
$diff = $this->schemaDiff->diff(
@@ -219,7 +219,7 @@ public function testInstallationWithConstraintsModification()
219219
self::assertNull($diff->getAll());
220220
$shardData = $this->describeTable->describeShard(Sharding::DEFAULT_CONNECTION);
221221
$this->assertTableCreationStatements($this->getTrimmedData(), $shardData);
222-
$adapter->query("SET @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=IF(@OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=0, 0, 1)");
222+
// $adapter->query("SET @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=IF(@OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=0, 0, 1)");
223223
}
224224

225225
/**

0 commit comments

Comments
 (0)