Skip to content

Commit ae147c9

Browse files
committed
fixup! fixup! fixup! fixup! fix: add handling for MD5 on new MySQL and deprecate MD5 SQL function
1 parent 7cd37de commit ae147c9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/private/Setup/MySQL.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ public function setupDatabase(): void {
3939
$version = $row['Value'];
4040
[$major, ] = explode('.', strtolower($version));
4141
if ((int)$major >= 9) {
42-
$adapter = new ConnectionAdapter($connection);
43-
$connections = [...$adapter->getInner()->getShardConnections(), $adapter->getInner()];
42+
$connections = [$connection, ...$connection->getShardConnections()];
4443
foreach ($connections as $singleConnection) {
4544
$statement = $singleConnection->prepare("INSTALL COMPONENT 'file://component_classic_hashing';");
4645
$statement->executeStatement();

0 commit comments

Comments
 (0)