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
This commit is contained in:
Justin Martin 2011-12-03 23:08:55 +00:00
parent 8942ad55cd
commit cb1f84626d

View file

@ -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