There was an error while loading. Please reload this page.
1 parent 7cd37de commit ae147c9Copy full SHA for ae147c9
1 file changed
lib/private/Setup/MySQL.php
@@ -39,8 +39,7 @@ public function setupDatabase(): void {
39
$version = $row['Value'];
40
[$major, ] = explode('.', strtolower($version));
41
if ((int)$major >= 9) {
42
- $adapter = new ConnectionAdapter($connection);
43
- $connections = [...$adapter->getInner()->getShardConnections(), $adapter->getInner()];
+ $connections = [$connection, ...$connection->getShardConnections()];
44
foreach ($connections as $singleConnection) {
45
$statement = $singleConnection->prepare("INSTALL COMPONENT 'file://component_classic_hashing';");
46
$statement->executeStatement();
0 commit comments