X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdb%2FDBConnRef.php;h=5443eeb9023ff327d492da83a8328655b4aa132c;hb=6ae9367cddf8565c948f4d9458b07bb688f2ddc2;hp=b4f3f7922998e6100f20b159bfecff013723acf1;hpb=012248fc5a7d6d0257df1a0feadbda5ae4a477e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/DBConnRef.php b/includes/db/DBConnRef.php index b4f3f79229..5443eeb902 100644 --- a/includes/db/DBConnRef.php +++ b/includes/db/DBConnRef.php @@ -91,6 +91,10 @@ class DBConnRef implements IDatabase { return $this->__call( __FUNCTION__, func_get_args() ); } + public function writesPending() { + return $this->__call( __FUNCTION__, func_get_args() ); + } + public function writesOrCallbacksPending() { return $this->__call( __FUNCTION__, func_get_args() ); } @@ -243,7 +247,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() ); } @@ -449,15 +453,15 @@ class DBConnRef implements IDatabase { return $this->__call( __FUNCTION__, func_get_args() ); } - public function resultObject( $result ) { + public function ping() { return $this->__call( __FUNCTION__, func_get_args() ); } - public function ping() { + public function getLag() { return $this->__call( __FUNCTION__, func_get_args() ); } - public function getLag() { + public function getSessionLagStatus() { return $this->__call( __FUNCTION__, func_get_args() ); } @@ -513,6 +517,10 @@ class DBConnRef implements IDatabase { return $this->__call( __FUNCTION__, func_get_args() ); } + public function isReadOnly() { + return $this->__call( __FUNCTION__, func_get_args() ); + } + /** * Clean up the connection when out of scope */