From cb1f84626d47c5ef7ac13e3e3879db5ccc460ea6 Mon Sep 17 00:00:00 2001 From: Justin Martin Date: Sat, 3 Dec 2011 23:08:55 +0000 Subject: [PATCH] Clarified that a PDOException is thrown if no transaction is active. Closes bug #60283. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320328 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo/pdo/rollback.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/pdo/pdo/rollback.xml b/reference/pdo/pdo/rollback.xml index 5e3fa16566..27e7b15eeb 100644 --- a/reference/pdo/pdo/rollback.xml +++ b/reference/pdo/pdo/rollback.xml @@ -17,8 +17,8 @@ Rolls back the current transaction, as initiated by - PDO::beginTransaction. It is an error to call this - method if no transaction is active. + PDO::beginTransaction. A PDOException + will be thrown if no transaction is active. If the database was set to autocommit mode, this function will restore