diff options
author | Ori Livneh <ori@wikimedia.org> | 2015-10-19 19:10:10 -0700 |
---|---|---|
committer | Ori Livneh <ori@wikimedia.org> | 2015-10-19 22:07:34 -0700 |
commit | 563a7f1114775fb1153391cee3772af15f393d9e (patch) | |
tree | dd1d85e0b6a7e0175e893f69b19de7d3b4cd313f /includes/db/DBConnRef.php | |
parent | f17437d8c213babd28af23633596550f7e868019 (diff) | |
download | mediawikicore-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.php | 2 |
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() ); } |