[Test Issue] Uncaught Error on some pdo_mysql tests #50

Closed
opened 2026-01-24 11:40:33 +01:00 by admin · 2 comments
Owner

Originally created by @hollyhuiLi on GitHub (Aug 27, 2019).

16 pdo_mysql tests failed due to uncaught error

ext/pdo_mysql/tests/bug70862.phpt
ext/pdo_mysql/tests/bug_41698.phpt
ext/pdo_mysql/tests/pdo_mysql_attr_autocommit.phpt
ext/pdo_mysql/tests/pdo_mysql_attr_case.phpt
ext/pdo_mysql/tests/pdo_mysql_commit.phpt
ext/pdo_mysql/tests/pdo_mysql_errorcode.phpt
ext/pdo_mysql/tests/pdo_mysql_errorinfo.phpt
ext/pdo_mysql/tests/pdo_mysql_prepare_emulated_anonymous.phpt
ext/pdo_mysql/tests/pdo_mysql_prepare_native.phpt
ext/pdo_mysql/tests/pdo_mysql_prepare_native_placeholder_everywhere.phpt
ext/pdo_mysql/tests/pdo_mysql_rollback.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_bindparam_types.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_bindvalue.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_blobs.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_closecursor_empty.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_columncount.phpt

Example for ext/pdo_mysql/tests/bug70862.phpt:
@@ -1,2 +1,9 @@
+PHP Fatal error: Uncaught Error: Call to a member function bindParam() on bool in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php:22
+Stack trace:
+#0 {main}

  • thrown in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php on line 22

+Fatal error: Uncaught Error: Call to a member function bindParam() on bool in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php:22
+Stack trace:
+#0 {main}

  • thrown in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php on line 22
    -string(0) ""
    -done!
    #0 {main}
    thrown in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php on line 22
Originally created by @hollyhuiLi on GitHub (Aug 27, 2019). 16 pdo_mysql tests failed due to uncaught error ext/pdo_mysql/tests/bug70862.phpt ext/pdo_mysql/tests/bug_41698.phpt ext/pdo_mysql/tests/pdo_mysql_attr_autocommit.phpt ext/pdo_mysql/tests/pdo_mysql_attr_case.phpt ext/pdo_mysql/tests/pdo_mysql_commit.phpt ext/pdo_mysql/tests/pdo_mysql_errorcode.phpt ext/pdo_mysql/tests/pdo_mysql_errorinfo.phpt ext/pdo_mysql/tests/pdo_mysql_prepare_emulated_anonymous.phpt ext/pdo_mysql/tests/pdo_mysql_prepare_native.phpt ext/pdo_mysql/tests/pdo_mysql_prepare_native_placeholder_everywhere.phpt ext/pdo_mysql/tests/pdo_mysql_rollback.phpt ext/pdo_mysql/tests/pdo_mysql_stmt_bindparam_types.phpt ext/pdo_mysql/tests/pdo_mysql_stmt_bindvalue.phpt ext/pdo_mysql/tests/pdo_mysql_stmt_blobs.phpt ext/pdo_mysql/tests/pdo_mysql_stmt_closecursor_empty.phpt ext/pdo_mysql/tests/pdo_mysql_stmt_columncount.phpt Example for ext/pdo_mysql/tests/bug70862.phpt: @@ -1,2 +1,9 @@ +PHP Fatal error: Uncaught Error: Call to a member function bindParam() on bool in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php:22 +Stack trace: +#0 {main} + thrown in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php on line 22 + +Fatal error: Uncaught Error: Call to a member function bindParam() on bool in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php:22 +Stack trace: +#0 {main} + thrown in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php on line 22 -string(0) "" -done! #0 {main} thrown in D:\php\testpackage\7.3.9RC1\ext\pdo_mysql\tests\bug70862.php on line 22
admin closed this issue 2026-01-24 11:40:33 +01:00
Author
Owner

@cmb69 commented on GitHub (Aug 27, 2019):

This might be a parallel testing issue, see #61.

@cmb69 commented on GitHub (Aug 27, 2019): This *might* be a parallel testing issue, see #61.
Author
Owner

@hollyhuiLi commented on GitHub (Sep 24, 2019):

Verified that it is similar issue as #61. Actually the change fixed #61 also added pdo_mysql test as non-threadsafe, and fixed this bug as well.

@hollyhuiLi commented on GitHub (Sep 24, 2019): Verified that it is similar issue as #61. Actually the change fixed #61 also added pdo_mysql test as non-threadsafe, and fixed this bug as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: php/pftt2#50