Persistent connections

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273081 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2009-01-08 16:38:20 +00:00
parent cf69c088a9
commit aa8148ada7

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="mysqli.connect" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysqli::__construct</refname>
@ -47,6 +47,11 @@
assumed. When possible, pipes will be used instead of the TCP/IP
protocol.
</para>
<para>
Prepending host by <literal>p:</literal> opens a persistent connection.
<function>mysqli_change_user</function> is automatically called on
connections opened from the connection pool.
</para>
</listitem>
</varlistentry>
<varlistentry>
@ -113,6 +118,30 @@
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.3.0</entry>
<entry>
Added the ability of persistent connections.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>