cvs: phpdoc /en/reference/pdo connections.xml
| From: | Hannes Magnusson | Date: | Sat, 29 Dec 2007 01:44:39 +0000 |
| Subject: | cvs: phpdoc /en/reference/pdo connections.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-907@lists.php.net to get a copy of this message | ||
bjori Sat Dec 29 01:44:39 2007 UTC
Modified files:
/phpdoc/en/reference/pdo connections.xml
Log:
sync with reference.xml r1.59
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/connections.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/pdo/connections.xml
diff -u phpdoc/en/reference/pdo/connections.xml:1.2 phpdoc/en/reference/pdo/connections.xml:1.3
--- phpdoc/en/reference/pdo/connections.xml:1.2 Wed Dec 26 14:41:04 2007
+++ phpdoc/en/reference/pdo/connections.xml Sat Dec 29 01:44:39 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<chapter xml:id="pdo.connections" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Connections and Connection management</title>
@@ -111,6 +111,15 @@
</para>
<note>
<para>
+ If you wish to use persistent connections, you must set
+ <constant>PDO::ATTR_PERSISTENT</constant> in the array of driver options
+ passed to the PDO constructor. If setting this attribute with
+ <xref linkend="function.PDO-setAttribute" /> after instantiation of the
+ object, the driver will not use persistent connections.
+ </para>
+ </note>
+ <note>
+ <para>
If you're using the PDO ODBC driver and your ODBC libraries support ODBC
Connection Pooling (unixODBC and Windows are two that do; there may be
more), then it's recommended that you don't use persistent PDO