jenkins-bot has submitted this change and it was merged.

Change subject: Updated onTransactionIdle() docs a bit.
......................................................................


Updated onTransactionIdle() docs a bit.

Change-Id: I12063991393a0db064488a72cfda70911fec3755
---
M includes/db/Database.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Demon: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/db/Database.php b/includes/db/Database.php
index 63c9cfe..70fc1f3 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -2966,6 +2966,7 @@
        /**
         * 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.

-- 
To view, visit https://gerrit.wikimedia.org/r/60912
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I12063991393a0db064488a72cfda70911fec3755
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to