Skip to content

Commit a31edaa

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Removed `REPORT_EXIT_STATUS=no` in libmysql tests
1 parent 154517e commit a31edaa

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/actions/test-libmysqlclient/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ runs:
1414
export PDO_MYSQL_TEST_HOST=127.0.0.1
1515
export PDO_MYSQL_TEST_USER=root
1616
export PDO_MYSQL_TEST_PASS=root
17-
export REPORT_EXIT_STATUS=no
1817
sapi/cli/php run-tests.php -P -q \
1918
-g FAIL,BORK,LEAK,XLEAK \
2019
--no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 \

ext/pdo_mysql/tests/gh11550.phpt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ MySQLPDOTest::skip();
1212
require_once __DIR__ . '/inc/mysql_pdo_test.inc';
1313
$pdo = MySQLPDOTest::factory();
1414

15+
$pdo->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
16+
1517
$pdo->exec(<<<'SQL'
1618
CREATE TABLE `test_gh11550` (
1719
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
@@ -50,9 +52,9 @@ array(1) {
5052
[0]=>
5153
array(4) {
5254
["id"]=>
53-
int(1)
55+
string(1) "1"
5456
[0]=>
55-
int(1)
57+
string(1) "1"
5658
["name"]=>
5759
string(5) "test1"
5860
[1]=>
@@ -65,9 +67,9 @@ array(1) {
6567
[0]=>
6668
array(6) {
6769
["id"]=>
68-
int(1)
70+
string(1) "1"
6971
[0]=>
70-
int(1)
72+
string(1) "1"
7173
["name"]=>
7274
string(5) "test1"
7375
[1]=>

0 commit comments

Comments
 (0)