We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f0bc59 + 490e773 commit 7b935bbCopy full SHA for 7b935bb
2 files changed
src/Database/Adapter/MySQL.php
@@ -32,9 +32,6 @@ public function setTimeout(int $milliseconds, string $event = Database::EVENT_AL
32
33
$this->timeout = $milliseconds;
34
35
- $pdo = $this->getPDO();
36
- $pdo->exec("SET GLOBAL regexp_time_limit = {$milliseconds}");
37
-
38
$this->before($event, 'timeout', function ($sql) use ($milliseconds) {
39
return \preg_replace(
40
pattern: '/SELECT/',
0 commit comments