diff --git a/.github/actions/test-libmysqlclient/action.yml b/.github/actions/test-libmysqlclient/action.yml index e408d0608f1..74474225e67 100644 --- a/.github/actions/test-libmysqlclient/action.yml +++ b/.github/actions/test-libmysqlclient/action.yml @@ -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 \ diff --git a/ext/pdo_mysql/tests/gh11550.phpt b/ext/pdo_mysql/tests/gh11550.phpt index 5bf0b26497c..6460a77b6a1 100644 --- a/ext/pdo_mysql/tests/gh11550.phpt +++ b/ext/pdo_mysql/tests/gh11550.phpt @@ -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]=>