mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Docs for bug #60119
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318441 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f6b35f1c75
commit
5b7b38440c
2 changed files with 33 additions and 3 deletions
|
@ -129,6 +129,11 @@
|
|||
Use of the option is NOT supported. You must not used it. Added note to m4.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Fixed Bug #60119 - host="localhost" lost in mysqlnd_ms_get_last_used_connection()
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<para>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>mixed</type>
|
||||
<type>array</type>
|
||||
<methodname>mysqlnd_ms_get_last_used_connection</methodname>
|
||||
<methodparam><type>mixed</type><parameter>connection</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
@ -93,9 +93,20 @@
|
|||
</entry>
|
||||
<entry>
|
||||
Database server host used with the connection.
|
||||
The host is only set with TCP/IP connections.
|
||||
It is empty with Unix domain or Windows named pipe connections,
|
||||
</entry>
|
||||
<entry>Since 1.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<literal>host_info</literal>
|
||||
</entry>
|
||||
<entry>
|
||||
A character string representing the server hostname and the connection type.
|
||||
</entry>
|
||||
<entry>Since 1.1.2.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<literal>port</literal>
|
||||
|
@ -105,6 +116,16 @@
|
|||
</entry>
|
||||
<entry>Since 1.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<literal>socket_or_pipe</literal>
|
||||
</entry>
|
||||
<entry>
|
||||
Unix domain socket or Windows named pipe used with the connection.
|
||||
The value is empty for TCP/IP connections.
|
||||
</entry>
|
||||
<entry>Since 1.1.2.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<literal>thread_id</literal>
|
||||
|
@ -190,15 +211,19 @@ var_dump(mysqlnd_ms_get_last_used_connection($link));
|
|||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
object(stdClass)#4 (9) {
|
||||
array(10) {
|
||||
["scheme"]=>
|
||||
string(22) "unix:///tmp/mysql.sock"
|
||||
["host_info"]=>
|
||||
string(25) "Localhost via UNIX socket"
|
||||
["host"]=>
|
||||
string(0) ""
|
||||
["port"]=>
|
||||
int(3306)
|
||||
["socket_or_pipe"]=>
|
||||
string(15) "/tmp/mysql.sock"
|
||||
["thread_id"]=>
|
||||
int(18739)
|
||||
int(46253)
|
||||
["last_message"]=>
|
||||
string(0) ""
|
||||
["errno"]=>
|
||||
|
|
Loading…
Reference in a new issue