dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69ff1ae
)
Updated onTransactionIdle() docs a bit.
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 25 Apr 2013 20:32:55 +0000
(13:32 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 25 Apr 2013 20:32:55 +0000
(13:32 -0700)
Change-Id: I12063991393a0db064488a72cfda70911fec3755
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
63c9cfe
..
70fc1f3
100644
(file)
--- 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.