Re: com php-src: New result fetching mode for mysqlnd, which should use less memory but implies more memory copy. The old method is still available
and can be used. It stays as default. Choosing the method is through a flag to mysqli_query()/mysqli_real_query() New mode can be forced with an INI
setting, for all extensions that support this mode (ext/mysql and mysqli, because PDO due to it's architecture can't support it) The setting is
mysqlnd.fetch
| From: | Ferenc Kovacs | Date: | Tue, 28 Oct 2014 14:05:53 +0000 |
| Subject: | Re: com php-src: New result fetching mode for mysqlnd, which should use less memory but implies more memory copy. The old method is still available and can be used. It stays as default. Choosing the method is through a flag to mysqli_query()/mysqli_real_query() New mode can be forced with an INI setting, for all extensions that support this mode (ext/mysql and mysqli, because PDO due to it's architecture can't support it) The setting is mysqlnd.fetch |
||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-82732@lists.php.net to get a copy of this message | ||
On Fri, Apr 11, 2014 at 6:38 AM, Christopher Jones <
christopher.jones@oracle.com> wrote:
>
>
> On 4/10/14, 6:44 AM, Andrey Hristov wrote:
>
>> Commit: 63791d055ad64762c3f63e08ca7ad8ba1f44e0ab
>> Author: Andrey Hristov <andrey@php.net> Thu, 10 Apr 2014
>> 16:44:54 +0300
>> Parents: 973f379efcb43887a83317482c7916004d1a2506
>> Branches: PHP-5.6 master
>>
>> Link:
>> http://git.php.net/?p=php-src.git;a=commitdiff;h=
>> 63791d055ad64762c3f63e08ca7ad8ba1f44e0ab
>>
>> Log:
>> New result fetching mode for mysqlnd, which should use less memory but
>> implies more memory copy. The old method is still available and can be
>> used.
>> It stays as default. Choosing the method is through a flag to
>> mysqli_query()/mysqli_real_query()
>> New mode can be forced with an INI setting, for all extensions that
>> support this mode
>> (ext/mysql and mysqli, because PDO due to it's architecture can't support
>> it)
>> The setting is mysqlnd.fetch_data_copy=[0|1]
>>
>>
>>
> Andrey,
>
> Can you update the php.ini files and UPGRADING?
>
> Can you check with Ferenc about the change? We entered 5.6 feature freeze
> earlier today so your change may not be included.
>
> Chris
>
> --
> christopher.jones@oracle.com http://twitter.com/ghrd
> Free PHP & Oracle book:
> http://www.oracle.com/technetwork/topics/php/
> underground-php-oracle-manual-098250.html
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
It seems that this somehow fell through.
Andrey, could you please update UPGRADING about this, and maybe help out
the doc team with updating the docs about the new mode and mentioniing this
in the migration guide?
thanks!
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu