[Phpmyadmin-devel] Persistent connections

Marc Delisle marc at infomarc.info
Wed Jul 27 20:49:03 CEST 2011


Piotr Przybylski a écrit :
> 2011/7/27 Marc Delisle <marc at infomarc.info>:
>> Piotr Przybylski a écrit :
>>> Hi,
>>>
>>> Currently persistent connections are supported only with mysql
>>> extension. We should add support for it in mysqli or drop it
>>> completely.
>>>
>> According to [0] the minimum PHP version required would be 5.3.
>>
>> [0] http://php.net/manual/en/mysqli.persistconns.php
> 
> Then I will add appropriate code and a description in docs.
> 
> One more question - in what case PMA_auth_fails can use $php_errormsg?
> AFAIR it doesn't propagate through global scope (it's always a local
> variable and its value is lost when exiting function in which is was
> set) so it makes no sense for me.
> 

Trying to use it outside of the scope where the error occurred is indeed 
a bug.

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list