X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Fdatabase%2FDBConnRef.php;h=4910219b622352323690f85643abc660570b1929;hb=d395dfb039fce787c9e4acbfeecbfe0ec372a9be;hp=ef2953ec9c8bd2f78108b177b91a08cf2bde5a2d;hpb=b5875a1fbca83f32cb5a160685ab6474d5a552a7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/rdbms/database/DBConnRef.php b/includes/libs/rdbms/database/DBConnRef.php index ef2953ec9c..4910219b62 100644 --- a/includes/libs/rdbms/database/DBConnRef.php +++ b/includes/libs/rdbms/database/DBConnRef.php @@ -281,7 +281,7 @@ class DBConnRef implements IDatabase { } public function estimateRowCount( - $table, $vars = '*', $conds = '', $fname = __METHOD__, $options = [] + $table, $vars = '*', $conds = '', $fname = __METHOD__, $options = [], $join_conds = [] ) { return $this->__call( __FUNCTION__, func_get_args() ); } @@ -350,10 +350,25 @@ class DBConnRef implements IDatabase { return $this->__call( __FUNCTION__, func_get_args() ); } + public function buildSubstring( $input, $startPosition, $length = null ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + public function buildStringCast( $field ) { return $this->__call( __FUNCTION__, func_get_args() ); } + public function buildIntegerCast( $field ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function buildSelectSubquery( + $table, $vars, $conds = '', $fname = __METHOD__, + $options = [], $join_conds = [] + ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + public function databasesAreIndependent() { return $this->__call( __FUNCTION__, func_get_args() ); } @@ -610,6 +625,10 @@ class DBConnRef implements IDatabase { return $this->__call( __FUNCTION__, func_get_args() ); } + public function setIndexAliases( array $aliases ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + /** * Clean up the connection when out of scope */