mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix for bug#48745
mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields
This commit is contained in:
parent
5c7b133648
commit
e8412fb61c
12 changed files with 74 additions and 151 deletions
|
@ -46,13 +46,13 @@ PHPAPI void mysqlnd_minfo_print_hash(zval *values)
|
|||
|
||||
zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(values), &pos_values);
|
||||
while (zend_hash_get_current_data_ex(Z_ARRVAL_P(values),
|
||||
(void **)&values_entry, &pos_values) == SUCCESS) {
|
||||
(void **)&values_entry, &pos_values) == SUCCESS) {
|
||||
TSRMLS_FETCH();
|
||||
zstr string_key;
|
||||
uint string_key_len;
|
||||
ulong num_key;
|
||||
int s_len;
|
||||
char *s = NULL;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &string_key, &string_key_len, &num_key, 0, &pos_values);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue