aboutsummaryrefslogtreecommitdiffstats
path: root/includes/db/DBConnRef.php
diff options
context:
space:
mode:
authorOri Livneh <ori@wikimedia.org>2015-10-19 19:10:10 -0700
committerOri Livneh <ori@wikimedia.org>2015-10-19 22:07:34 -0700
commit563a7f1114775fb1153391cee3772af15f393d9e (patch)
treedd1d85e0b6a7e0175e893f69b19de7d3b4cd313f /includes/db/DBConnRef.php
parentf17437d8c213babd28af23633596550f7e868019 (diff)
downloadmediawikicore-563a7f1114775fb1153391cee3772af15f393d9e.tar.gz
mediawikicore-563a7f1114775fb1153391cee3772af15f393d9e.zip
Database::selectRowCount(): support $join_conds
Add a $join_conds parameter for Database::selectRowCount(), to allow the caller to specify join conditions for the subquery that it generates. Change-Id: I8c0a93713c121bc5b691ae65d6b6d8f8c08c9e4c
Diffstat (limited to 'includes/db/DBConnRef.php')
-rw-r--r--includes/db/DBConnRef.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/db/DBConnRef.php b/includes/db/DBConnRef.php
index 419571927502..5a8fe920c170 100644
--- a/includes/db/DBConnRef.php
+++ b/includes/db/DBConnRef.php
@@ -243,7 +243,7 @@ class DBConnRef implements IDatabase {
}
public function selectRowCount(
- $table, $vars = '*', $conds = '', $fname = __METHOD__, $options = array()
+ $tables, $vars = '*', $conds = '', $fname = __METHOD__, $options = array(), $join_conds = array()
) {
return $this->__call( __FUNCTION__, func_get_args() );
}