com php-src: Merge branch 'PHP-7.2' into PHP-7.3: NEWS ext/mysqlnd/mysqlnd_result.c
| From: | Nikita Popov | Date: | Thu, 21 Feb 2019 12:45:53 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.2' into PHP-7.3: NEWS ext/mysqlnd/mysqlnd_result.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104804@lists.php.net to get a copy of this message | ||
Commit: e5d8ac92a481291cddf5a6879b7b83defb514c16
Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 21 Feb 2019 13:45:25 +0100
Parents: af324e24df85022314787f6dcf2ac811f58b88f3 934691fabba00b2cc36a7a0c93279d41f399c7ba
Branches: PHP-7.3 PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e5d8ac92a481291cddf5a6879b7b83defb514c16
Log:
Merge branch 'PHP-7.2' into PHP-7.3
Changed paths:
MM NEWS
MM ext/mysqlnd/mysqlnd_result.c
Diff:
diff --cc NEWS
index 3e7c589,72d8fac..2e83685
--- a/NEWS
+++ b/NEWS
@@@ -1,8 -1,11 +1,11 @@@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? 2019, PHP 7.2.17
+?? ??? ????, PHP 7.3.4
+ - MySQLi:
+ . Fixed bug #77597 (mysqli_fetch_field hangs scripts). (Nikita)
+
-07 Mar 2019, PHP 7.2.16
+21 Feb 2019, PHP 7.3.3
- Core:
. Fixed bug #77589 (Core dump using parse_ini_string with numeric sections).
diff --cc ext/mysqlnd/mysqlnd_result.c
index 201e314,5e83609..5e3b86e
--- a/ext/mysqlnd/mysqlnd_result..c
+++ b/ext/mysqlnd/mysqlnd_result.c
@@@ -106,13 -106,13 +106,13 @@@ MYSQLND_METHOD(mysqlnd_result_buffered_
DBG_RETURN(FAIL);
}
- for (i = 0; i < result->row_count; i++) {
- /* (i / 8) & the_bit_for_i*/
- if (ZEND_BIT_TEST(initialized, i)) {
+ for (row = 0; row < result->row_count; row++) {
- /* (i / 8) & the_bit_for_i*/
- if (initialized[row >> 3] & (1 << (row & 7))) {
++ /* (row / 8) & the_bit_for_row*/
++ if (ZEND_BIT_TEST(initialized, row)) {
continue;
}
- rc = result->m.row_decoder(&result->row_buffers[i], current_row, field_count,
meta->fields, int_and_float_native, stats);
- rc = result->m.row_decoder(result->row_buffers[row], current_row, field_count,
meta->fields, int_and_float_native, stats);
++ rc = result->m.row_decoder(&result->row_buffers[row], current_row, field_count,
meta->fields, int_and_float_native, stats);
if (rc != PASS) {
ret = FAIL;