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
[MCR] Fix SqlBlobStore using DB_REPLICA for writes
[lhc/web/wiklou.git]
/
includes
/
Storage
/
SqlBlobStore.php
diff --git
a/includes/Storage/SqlBlobStore.php
b/includes/Storage/SqlBlobStore.php
index
0714633
..
fcdc1b9
100644
(file)
--- a/
includes/Storage/SqlBlobStore.php
+++ b/
includes/Storage/SqlBlobStore.php
@@
-228,7
+228,7
@@
class SqlBlobStore implements IDBAccessObject, BlobStore {
// used. We'll need to assess expected fallout before doing that.
}
- $dbw = $this->getDBConnection( DB_
REPLICA
);
+ $dbw = $this->getDBConnection( DB_
MASTER
);
$old_id = $dbw->nextSequenceValue( 'text_old_id_seq' );
$dbw->insert(