Bug #60119 [Asn->]: host="localhost" lost in mysqlnd_ms_get_last_used_connection()

From: Date: Wed, 26 Oct 2011 14:18:11 +0000
Subject: Bug #60119 [Asn->]: host="localhost" lost in mysqlnd_ms_get_last_used_connection()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-164582@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: uw@php.net Reported by: uw@php.net Summary: host="localhost" lost in mysqlnd_ms_get_last_used_connection() -Status: Assigned +Status: To be documented Type: Bug Package: mysqlnd_ms PHP Version: Irrelevant -Assigned To: andrey +Assigned To: uw Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#164582) next »