Test: /ext/mysqli/tests/bug54221.phpt - Version 7.4.3-dev        

Bug #54221 mysqli::get_warnings segfault when used in multi queries
Submitted: 2011-03-11 09:39:58 Modified: 2011-03-17 11:32:11
From: glen Assigned: mysql
Status: Closed Package: MySQLi related
PHP Version: 5.3.5 OS:

There are 4 different diffs reported by users for this test.

Count Diff
15 (65%)
001+ Fatal error: Uncaught Error: Object of class mysqli_warning could not be converted to string in %s/bug54221.php:20 002+ Stack trace: 003+ #0 {main} 001- Warning: : 002- Warning: 1050: Table 't54221' already exists 003- done! 004+ thrown in %s/bug54221.php on line 20
3 (13%)
001+ Warning: main(): Couldn't fetch mysqli_warning in %s/bug54221.php on line 20 001- Warning: main(): Couldn't fetch mysqli_warning in %s on line %d 003+ Warning: main(): Couldn't fetch mysqli_warning in %s/bug54221.php on line 20 004+ Warning: : 003- Warning: main(): Couldn't fetch mysqli_warning in %s on line %d 004- Warning: :
3 (13%)
001+ Warning: main(): Couldn't fetch mysqli_warning in %s/bug54221.php on line 20 002+ 003+ Warning: main(): Couldn't fetch mysqli_warning in %s/bug54221.php on line 20
2 (9%)
003+ Fatal error: Uncaught Error: Object of class mysqli_warning could not be converted to string in %s/bug54221.php:20 004+ Stack trace: 005+ #0 {main} 006+ thrown in %s/bug54221.php on line 20 003- Warning: main(): Couldn't fetch mysqli_warning in %s on line %d 004- Warning: : 005- Warning: 1050: Table 't54221' already exists 006- done!