diff --git a/typo3/sysext/install/Classes/Controller/InstallerController.php b/typo3/sysext/install/Classes/Controller/InstallerController.php index e502e69fe7affc3feb9e34789a443feefebfd6dd..beee8bb2c15213bc00361902d17ef5bafe432f1d 100644 --- a/typo3/sysext/install/Classes/Controller/InstallerController.php +++ b/typo3/sysext/install/Classes/Controller/InstallerController.php @@ -747,7 +747,6 @@ class InstallerController ->checkAlter() ->checkIndex() ->checkCreateTemporaryTable() - ->checkLockTable() ->checkInsert() ->checkSelect() ->checkUpdate() diff --git a/typo3/sysext/install/Classes/Database/PermissionsCheck.php b/typo3/sysext/install/Classes/Database/PermissionsCheck.php index 79eb673c7d5f469fdc8b3a4bb4875cc4c39b816c..78bd23f0ec036f8b511e8e5abc4b6260a4a0e07a 100644 --- a/typo3/sysext/install/Classes/Database/PermissionsCheck.php +++ b/typo3/sysext/install/Classes/Database/PermissionsCheck.php @@ -109,20 +109,6 @@ class PermissionsCheck return $this; } - public function checkLockTable(): self - { - $this->checkCreateTable($this->testTableName); - $connection = $this->getConnection(); - try { - $connection->exec(sprintf('LOCK TABLES %s WRITE', $this->testTableName)); - $connection->exec('UNLOCK TABLES;'); - } catch (\Exception $e) { - $this->messages[] = 'The database user needs LOCK TABLE permission'; - } - $this->checkDropTable($this->testTableName); - return $this; - } - public function checkSelect(): self { $this->checkCreateTable($this->testTableName);