From e73028e6148424da8d69ed882e2b330ef22c45fa Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 25 Apr 2013 13:32:55 -0700 Subject: [PATCH] Updated onTransactionIdle() docs a bit. Change-Id: I12063991393a0db064488a72cfda70911fec3755 --- includes/db/Database.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/db/Database.php b/includes/db/Database.php index 63c9cfe6b3..70fc1f3f6e 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -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. -- 2.20.1