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:
1c4cc09
)
Fix per-connection database name in DBAccessBase.
author
daniel
<daniel.kinzler@wikimedia.de>
Tue, 27 Nov 2012 18:18:55 +0000
(19:18 +0100)
committer
daniel
<daniel.kinzler@wikimedia.de>
Tue, 27 Nov 2012 18:18:55 +0000
(19:18 +0100)
Change-Id: I5ac4bfb93f2dfee1e6822f7afd75ff81c0864e43
includes/dao/DBAccessBase.php
patch
|
blob
|
history
diff --git
a/includes/dao/DBAccessBase.php
b/includes/dao/DBAccessBase.php
index
72e54fc
..
b6ffdb8
100644
(file)
--- a/
includes/dao/DBAccessBase.php
+++ b/
includes/dao/DBAccessBase.php
@@
-50,12
+50,13
@@
abstract class DBAccessBase implements IDBAccessObject {
* @see LoadBalancer::getConnection()
*
* @param int $id Which connection to use
+ * @param array $groups Query groups
*
* @return \DatabaseBase
*/
- protected function getConnection( $id ) {
+ protected function getConnection( $id
, $groups = array()
) {
$loadBalancer = wfGetLB( $this->wiki );
- return $loadBalancer->getConnection( $id );
+ return $loadBalancer->getConnection( $id
, $groups, $this->wiki
);
}
/**