cvs: phpdoc /en/reference/mysqli persistconns.xml
| From: | Anthony Bedford | Date: | Thu, 26 Feb 2009 16:31:19 +0000 |
| Subject: | cvs: phpdoc /en/reference/mysqli persistconns.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3353@lists.php.net to get a copy of this message | ||
abedford Thu Feb 26 16:31:19 2009 UTC
Modified files:
/phpdoc/en/reference/mysqli persistconns.xml
Log:
Added note that persistent connections are suported when using mysqlnd and libmysql.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysqli/persistconns.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/mysqli/persistconns.xml
diff -u phpdoc/en/reference/mysqli/persistconns.xml:1.2
phpdoc/en/reference/mysqli/persistconns.xml:1.3
--- phpdoc/en/reference/mysqli/persistconns.xml:1.2 Wed Feb 25 09:55:02 2009
+++ phpdoc/en/reference/mysqli/persistconns.xml Thu Feb 26 16:31:19 2009
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<chapter xml:id="mysqli.persistconns" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>The mysqli Extension and Persistent Connections</title>
<para>
Persistent connection support was introduced in PHP 5.3 for the
- <literal>mysqli</literal> extension. Support was already present in PDO
- MYSQL and ext/mysql. The idea behind persistent connections is that a
- connection between a client process and a database can be reused by a
- client process, rather than being created and destroyed multiple
- times. This reduces the overhead of creating fresh connections every
- time one is required, as unused connections are cached and ready to be
- reused.
+ <literal>mysqli</literal> extension. Support was already present in
+ PDO MYSQL and ext/mysql. The idea behind persistent connections is
+ that a connection between a client process and a database can be
+ reused by a client process, rather than being created and destroyed
+ multiple times. This reduces the overhead of creating fresh
+ connections every time one is required, as unused connections are
+ cached and ready to be reused.
</para>
<para>
@@ -99,9 +99,21 @@
<para>
It is possible to switch off the automatic cleanup code, by compiling
- PHP with <constant>MYSQLI_NO_CHANGE_USER_ON_PCONNECT</constant> defined.
+ PHP with
+
+ <constant>MYSQLI_NO_CHANGE_USER_ON_PCONNECT</constant>
+
+ defined.
</para>
+ <note>
+ <para>
+ The <literal>mysqli</literal> extension supports persistent
+ connections when using either MySQL Native Driver or MySQL Client
+ Library.
+ </para>
+ </note>
+
</chapter>
<!-- Keep this comment at the end of the file
Local variables: