Commit PDO::ATTR_TIMEOUT text from Wez

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296304 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joey Smith 2010-03-16 21:29:38 +00:00
parent 968a1e10ed
commit a4b5b54233

View file

@ -66,6 +66,13 @@
Cannot be used with persistent PDO instances.
Requires <literal>array(string classname, array(mixed constructor_args))</literal>.
</para></listitem>
<listitem><para><literal>PDO::ATTR_TIMEOUT</literal>:
Specifies the timeout duration in seconds. Not all drivers support this option,
and it's meaning may differ from driver to driver. For example, sqlite will wait
for up to this time value before giving up on obtaining an writable lock, but
other drivers may interpret this as a connect or a read timeout interval.
Requires <type>int</type>.
</para></listitem>
<listitem><para><literal>PDO::ATTR_AUTOCOMMIT</literal>
(available in OCI, Firebird and MySQL):
Whether to autocommit every single statement.