Merge branch 'PHP-8.3'

* PHP-8.3:
    Removed `REPORT_EXIT_STATUS=no` in libmysql tests
This commit is contained in:
Saki Takamachi 2024-02-29 08:49:53 +09:00
parent 154517eba9
commit a31edaa99b
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_HOST=127.0.0.1
export PDO_MYSQL_TEST_USER=root export PDO_MYSQL_TEST_USER=root
export PDO_MYSQL_TEST_PASS=root export PDO_MYSQL_TEST_PASS=root
export REPORT_EXIT_STATUS=no
sapi/cli/php run-tests.php -P -q \ sapi/cli/php run-tests.php -P -q \
-g FAIL,BORK,LEAK,XLEAK \ -g FAIL,BORK,LEAK,XLEAK \
--no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 \ --no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 \

View file

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