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 @@ -12,6 +12,8 @@ MySQLPDOTest::skip();
12
12
require_once __DIR__ . '/inc/mysql_pdo_test.inc ' ;
13
13
$ pdo = MySQLPDOTest::factory ();
14
14
15
+ $ pdo ->setAttribute (PDO ::ATTR_STRINGIFY_FETCHES , true );
16
+
15
17
$ pdo ->exec (<<<'SQL'
16
18
CREATE TABLE `test_gh11550` (
17
19
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
@@ -50,9 +52,9 @@ array(1) {
50
52
[0]=>
51
53
array(4) {
52
54
["id"]=>
53
- int (1)
55
+ string (1) "1"
54
56
[0]=>
55
- int (1)
57
+ string (1) "1"
56
58
["name"]=>
57
59
string(5) "test1"
58
60
[1]=>
@@ -65,9 +67,9 @@ array(1) {
65
67
[0]=>
66
68
array(6) {
67
69
["id"]=>
68
- int (1)
70
+ string (1) "1"
69
71
[0]=>
70
- int (1)
72
+ string (1) "1"
71
73
["name"]=>
72
74
string(5) "test1"
73
75
[1]=>
You can’t perform that action at this time.
0 commit comments