mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
For get_data iterator do not force numeric keys, return keys the user
requests.
This commit is contained in:
parent
d5084182ce
commit
2e2c4375d0
1 changed files with 1 additions and 1 deletions
|
@ -906,7 +906,7 @@ void sqlite_iterator_get_current_data(zend_object_iterator *iter, zval ***data T
|
|||
*data = &((sqlite_object_iterator*)iter)->value;
|
||||
if (res && !**data) {
|
||||
MAKE_STD_ZVAL(**data);
|
||||
php_sqlite_fetch_array(res, PHPSQLITE_NUM, 1, 0, **data TSRMLS_CC);
|
||||
php_sqlite_fetch_array(res, res->mode, 1, 0, **data TSRMLS_CC);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue