diff --git a/CHANGELOG.md b/CHANGELOG.md index dca34edc..12b61b05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Enh #459: Explicitly import constants in "use" section (@mspirkov) - Enh #460: Remove unnecessary files from Composer package (@mspirkov) +- Enh #461: Add `ext-pdo_mysql` to `require` section of `composer.json` (@Tigrov) ## 2.0.0 December 05, 2025 diff --git a/composer.json b/composer.json index acb5c46a..513faf7a 100644 --- a/composer.json +++ b/composer.json @@ -34,6 +34,7 @@ "php": "8.1 - 8.5", "ext-ctype": "*", "ext-pdo": "*", + "ext-pdo_mysql": "*", "psr/log": "^2.0|^3.0", "yiisoft/db": "^2.0" }, diff --git a/tests/DeadLockTest.php b/tests/DeadLockTest.php index ade36946..35fdbc8c 100644 --- a/tests/DeadLockTest.php +++ b/tests/DeadLockTest.php @@ -283,20 +283,21 @@ private function childrenUpdateLocked(): int return 1; } - try { - /* at first, parent should do 1st select */ - $this->log('child 2: wait signal from child 1'); + /* at first, parent should do 1st select */ + $this->log('child 2: wait signal from child 1'); - if (pcntl_sigtimedwait([SIGUSR1], $info, 10) <= 0) { - $this->log('child 2: wait timeout exceeded'); + if (pcntl_sigtimedwait([SIGUSR1], $info, 10) <= 0) { + $this->log('child 2: wait timeout exceeded'); - return 1; - } + return 1; + } + + $this->log('child 2: connect'); - $this->log('child 2: connect'); + $second = $this->createConnection(); + $this->loadFixture(db: $second); - $second = $this->createConnection(); - $this->loadFixture(db: $second); + try { $second->open(); /* sleep(1); */