Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  Removed `REPORT_EXIT_STATUS=no` in libmysql tests
This commit is contained in:
Saki Takamachi 2024-02-29 08:49:04 +09:00
parent 47dca339a4
commit 116166cd30
No known key found for this signature in database
GPG Key ID: E4A36F6D37931A8B
2 changed files with 6 additions and 5 deletions

View File

@ -14,7 +14,6 @@ runs:
export PDO_MYSQL_TEST_HOST=127.0.0.1
export PDO_MYSQL_TEST_USER=root
export PDO_MYSQL_TEST_PASS=root
export REPORT_EXIT_STATUS=no
sapi/cli/php run-tests.php -P -q \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 \

View File

@ -13,6 +13,8 @@ MySQLPDOTest::skip();
require_once __DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc';
$pdo = MySQLPDOTest::factory();
$pdo->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
$pdo->exec(<<<'SQL'
CREATE TABLE `test_gh11550` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
@ -51,9 +53,9 @@ array(1) {
[0]=>
array(4) {
["id"]=>
int(1)
string(1) "1"
[0]=>
int(1)
string(1) "1"
["name"]=>
string(5) "test1"
[1]=>
@ -66,9 +68,9 @@ array(1) {
[0]=>
array(6) {
["id"]=>
int(1)
string(1) "1"
[0]=>
int(1)
string(1) "1"
["name"]=>
string(5) "test1"
[1]=>