Bug #60119 [Asn->Csd]: host="localhost" lost in mysqlnd_ms_get_last_used_connection()
| From: | johannes@php.net | Date: | Thu, 27 Oct 2011 13:40:20 +0000 |
| Subject: | Bug #60119 [Asn->Csd]: host="localhost" lost in mysqlnd_ms_get_last_used_connection() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164613@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60119&edit=1
ID: 60119
Updated by: johannes@php.net
Reported by: uw@php.net
Summary: host="localhost" lost in
mysqlnd_ms_get_last_used_connection()
-Status: Assigned
+Status: Closed
Type: Bug
Package: mysqlnd_ms
PHP Version: Irrelevant
Assigned To: uw
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-10-26 14:58:50] uw@php.net
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Documentation pushed. Will appear online shortly.
------------------------------------------------------------------------
[2011-10-26 14:57:59] uw@php.net
Automatic comment from SVN on behalf of uw
Revision: http://svn.php.net/viewvc/?view=revision&revision=318441
Log: Docs for bug #60119
------------------------------------------------------------------------
[2011-10-26 14:18:11] uw@php.net
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2011-10-24 09:48:42] uw@php.net
Description:
------------
mysqlnd_ms_get_last_used_connection() reports wrong host, if host is "localhost". In that
case, the host reported is "".
Test script:
---------------
Tests in the repository fail, if configured appropriately.
FAILED TEST SUMMARY
---------------------------------------------------------------------
mysqlnd_ms_get_last_used_connection()
[/home/nixnutz/php/php-src/pecl/mysqlnd_ms/trunk/tests/mysqlnd_ms_get_last_used_connection.phpt]
mysqlnd_ms_get_last_used_connection() switching
[/home/nixnutz/php/php-src/pecl/mysqlnd_ms/trunk/tests/mysqlnd_ms_get_last_used_connection_switches.phpt]
Expected result:
----------------
host="localhost" not host=""
Actual result:
--------------
host=""
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60119&edit=1