mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Persistent connections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273081 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cf69c088a9
commit
aa8148ada7
1 changed files with 30 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue