From a4b5b5423375644cce7b42f25961b97ad20dc72c Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Tue, 16 Mar 2010 21:29:38 +0000 Subject: [PATCH] Commit PDO::ATTR_TIMEOUT text from Wez git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296304 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo/pdo/setattribute.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reference/pdo/pdo/setattribute.xml b/reference/pdo/pdo/setattribute.xml index 0739a74230..7ea47a743c 100644 --- a/reference/pdo/pdo/setattribute.xml +++ b/reference/pdo/pdo/setattribute.xml @@ -66,6 +66,13 @@ Cannot be used with persistent PDO instances. Requires array(string classname, array(mixed constructor_args)). + PDO::ATTR_TIMEOUT: + 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 int. + PDO::ATTR_AUTOCOMMIT (available in OCI, Firebird and MySQL): Whether to autocommit every single statement.