mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
missing from previous commit for #55582
This commit is contained in:
parent
13c5106f43
commit
3a510c616d
1 changed files with 2 additions and 3 deletions
|
@ -616,19 +616,18 @@ mysqlnd_fetch_lengths_buffered(MYSQLND_RES * const result TSRMLS_DC)
|
|||
static unsigned long *
|
||||
mysqlnd_fetch_lengths_unbuffered(MYSQLND_RES * const result TSRMLS_DC)
|
||||
{
|
||||
return result->lengths;
|
||||
/* simulate output of libmysql */
|
||||
return (!result->unbuf || result->unbuf->last_row_data || result->unbuf->eof_reached)? result->lengths:NULL;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
#if !defined(MYSQLND_USE_OPTIMISATIONS) || MYSQLND_USE_OPTIMISATIONS == 0
|
||||
/* {{{ mysqlnd_res::fetch_lengths */
|
||||
PHPAPI unsigned long * _mysqlnd_fetch_lengths(MYSQLND_RES * const result TSRMLS_DC)
|
||||
{
|
||||
return result->m.fetch_lengths? result->m.fetch_lengths(result TSRMLS_CC) : NULL;
|
||||
}
|
||||
/* }}} */
|
||||
#endif
|
||||
|
||||
|
||||
/* {{{ mysqlnd_fetch_row_unbuffered_c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue