dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Do not auto-reconnect to DBs if named locks where lost"
[lhc/web/wiklou.git]
/
includes
/
db
/
Database.php
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
9315daf
..
a4d0ad0
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-3181,6
+3181,7
@@
abstract class DatabaseBase implements IDatabase {
$that = $this;
$unlocker = new ScopedCallback( function () use ( $that, $lockKey, $fname ) {
+ $that->commit( __METHOD__, 'flush' );
$that->unlock( $lockKey, $fname );
} );