com php-src: Merge branch 'PHP-7.4' into PHP-8.0: ext/mysqli/my sqli_api.c ext/mysqli/tests/mysqli_report.phpt
| From: | Nikita Popov | Date: | Wed, 11 Nov 2020 15:03:10 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.4' into PHP-8.0: ext/mysqli/my sqli_api.c ext/mysqli/tests/mysqli_report.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-114133@lists.php.net to get a copy of this message | ||
Commit: d776c31a3404ade29dacd3487b99adefdcec09a2
Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 11 Nov 2020 16:03:10 +0100
Parents: 2d2d42b2681b97de654b02c0edbac87dc94e0ce5 eda749260448c2cfbc628592c0943263d03d7119
Branches: PHP-8.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d776c31a3404ade29dacd3487b99adefdcec09a2
Log:
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
Handle errors during next_result()
Changed paths:
MM ext/mysqli/mysqli_api.c
MM ext/mysqli/tests/mysqli_report.phpt
Diff:
diff --cc ext/mysqli/tests/mysqli_report.phpt
index 1dbf1e4dc19,7a343bdef8f..840c2c017a0
--- a/ext/mysqli/tests/mysqli_report.phpt
+++ b/ext/mysqli/tests/mysqli_report.phpt
@@@ -330,10 -331,17 +330,16 @@@ Warning: mysqli_rollback(): (%s/%d): Co
Warning: mysqli_stmt_prepare(): (%s/%d): Commands out of sync; you can't run this command now
in %s on line %d
+ Warning: mysqli_next_result(): (%s/%d): Commands out of sync; you can't run this command now
in %s on line %d
+
+ Warning: mysqli_next_result(): (%s/%d): You have an error in your SQL syntax; check the manual
that corresponds to your %s server version for the right syntax to use near 'FOO' at line
1 in %s on line %d
+
Warning: mysqli_store_result(): (%s/%d): You have an error in your SQL syntax; check the manual
that corresponds to your %s server version for the right syntax to use near 'FOO' at line
1 in %s on line %d
+ Warning: mysqli_next_result(): (%s/%d): You have an error in your SQL syntax; check the manual
that corresponds to your %s server version for the right syntax to use near 'FOO' at line
1 in %s on line %d
+
Warning: mysqli_stmt_attr_set(): (%s/%d): Not implemented in %s on line %d
-
-Warning: mysqli_kill(): processid should have positive value in %s on line %d
+mysqli_kill(): Argument #2 ($process_id) must be greater than 0
Warning: mysqli_stmt_prepare(): (%d/%d): You have an error in your SQL syntax; check the manual
that corresponds to your %s server version for the right syntax to use near 'FOO' at line
1 in %s on line %d
[013] Access denied for user '%s'@'%s' (using password: YES)