Updated onTransactionIdle() docs a bit.
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 25 Apr 2013 20:32:55 +0000 (13:32 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 25 Apr 2013 20:32:55 +0000 (13:32 -0700)
Change-Id: I12063991393a0db064488a72cfda70911fec3755

includes/db/Database.php

index 63c9cfe..70fc1f3 100644 (file)
@@ -2966,6 +2966,7 @@ abstract class DatabaseBase implements DatabaseType {
        /**
         * Run an anonymous function as soon as there is no transaction pending.
         * If there is a transaction and it is rolled back, then the callback is cancelled.
+        * Queries in the function will run in AUTO-COMMIT mode unless there are begin() calls.
         * Callbacks must commit any transactions that they begin.
         *
         * This is useful for updates to different systems or when separate transactions are needed.