dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4b21406
)
Merge "Fix per-connection database name in DBAccessBase."
author
Demon
<chadh@wikimedia.org>
Tue, 27 Nov 2012 18:28:49 +0000
(18:28 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 27 Nov 2012 18:28:49 +0000
(18:28 +0000)
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
);
}
/**