File tree 2 files changed +6
-5
lines changed
.github/actions/test-libmysqlclient
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 14
14
export PDO_MYSQL_TEST_HOST=127.0.0.1
15
15
export PDO_MYSQL_TEST_USER=root
16
16
export PDO_MYSQL_TEST_PASS=root
17
- export REPORT_EXIT_STATUS=no
18
17
sapi/cli/php run-tests.php -P -q \
19
18
-g FAIL,BORK,LEAK,XLEAK \
20
19
--no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 \
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ MySQLPDOTest::skip();
13
13
require_once __DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc ' ;
14
14
$ pdo = MySQLPDOTest::factory ();
15
15
16
+ $ pdo ->setAttribute (PDO ::ATTR_STRINGIFY_FETCHES , true );
17
+
16
18
$ pdo ->exec (<<<'SQL'
17
19
CREATE TABLE `test_gh11550` (
18
20
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
@@ -51,9 +53,9 @@ array(1) {
51
53
[0]=>
52
54
array(4) {
53
55
["id"]=>
54
- int (1)
56
+ string (1) "1"
55
57
[0]=>
56
- int (1)
58
+ string (1) "1"
57
59
["name"]=>
58
60
string(5) "test1"
59
61
[1]=>
@@ -66,9 +68,9 @@ array(1) {
66
68
[0]=>
67
69
array(6) {
68
70
["id"]=>
69
- int (1)
71
+ string (1) "1"
70
72
[0]=>
71
- int (1)
73
+ string (1) "1"
72
74
["name"]=>
73
75
string(5) "test1"
74
76
[1]=>
You can’t perform that action at this time.
0 commit comments