X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Fdatabase%2FDBConnRef.php;h=c0855dfc2ad8c2c3b88e2e325e8f91ddc2c2cde4;hb=52aeaa7a5;hp=ef2953ec9c8bd2f78108b177b91a08cf2bde5a2d;hpb=a8ec960e9d910acbcd0d50efad3bd73e3ae812aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/rdbms/database/DBConnRef.php b/includes/libs/rdbms/database/DBConnRef.php index ef2953ec9c..c0855dfc2a 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() ); } @@ -452,7 +467,7 @@ class DBConnRef implements IDatabase { return $this->__call( __FUNCTION__, func_get_args() ); } - public function wasErrorReissuable() { + public function wasConnectionLoss() { return $this->__call( __FUNCTION__, func_get_args() ); } @@ -460,6 +475,10 @@ class DBConnRef implements IDatabase { return $this->__call( __FUNCTION__, func_get_args() ); } + public function wasErrorReissuable() { + return $this->__call( __FUNCTION__, func_get_args() ); + } + public function masterPosWait( DBMasterPos $pos, $timeout ) { return $this->__call( __FUNCTION__, func_get_args() ); } @@ -500,6 +519,10 @@ class DBConnRef implements IDatabase { return $this->__call( __FUNCTION__, func_get_args() ); } + public function cancelAtomic( $fname = __METHOD__ ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + public function doAtomicSection( $fname, callable $callback ) { return $this->__call( __FUNCTION__, func_get_args() ); } @@ -610,6 +633,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 */