svn: /phpdoc/en/trunk/reference/pdo/pdo/ rollback.xml
| From: | Justin Martin | Date: | Sat, 03 Dec 2011 23:08:55 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pdo/pdo/ rollback.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9135@lists.php.net to get a copy of this message | ||
frozenfire Sat, 03 Dec 2011 23:08:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320328
Log:
Clarified that a PDOException is thrown if no transaction is active. Closes bug #60283.
Bug: https://bugs.php.net/60283 (Open) rollback would throw
a PDOException and that's no documented
Changed paths:
U phpdoc/en/trunk/reference/pdo/pdo/rollback.xml
Modified: phpdoc/en/trunk/reference/pdo/pdo/rollback.xml
===================================================================
--- phpdoc/en/trunk/reference/pdo/pdo/rollback.xml 2011-12-03 23:04:33 UTC (rev 320327)
+++ phpdoc/en/trunk/reference/pdo/pdo/rollback.xml 2011-12-03 23:08:55 UTC (rev 320328)
@@ -17,8 +17,8 @@
<para>
Rolls back the current transaction, as initiated by
- <function>PDO::beginTransaction</function>. It is an error to call this
- method if no transaction is active.
+ <function>PDO::beginTransaction</function>. A
<classname>PDOException</classname>
+ will be thrown if no transaction is active.
</para>
<para>
If the database was set to autocommit mode, this function will restore