return $this->__call( __FUNCTION__, func_get_args() );
}
+ /**
+ * @codeCoverageIgnore
+ */
public function getWikiID() {
return $this->getDomainID();
}
return $this->__call( __FUNCTION__, func_get_args() );
}
+ public function lockForUpdate(
+ $table, $conds = '', $fname = __METHOD__, $options = [], $join_conds = []
+ ) {
+ return $this->__call( __FUNCTION__, func_get_args() );
+ }
+
public function fieldExists( $table, $field, $fname = __METHOD__ ) {
return $this->__call( __FUNCTION__, func_get_args() );
}
}
public function selectDB( $db ) {
- return $this->__call( __FUNCTION__, func_get_args() );
+ // Disallow things that might confuse the LoadBalancer tracking
+ throw new DBUnexpectedError( $this, "Database selection is disallowed to enable reuse." );
}
public function getDBname() {