X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/includes/libs/rdbms/database/MaintainableDBConnRef.php diff --git a/includes/libs/rdbms/database/MaintainableDBConnRef.php b/includes/libs/rdbms/database/MaintainableDBConnRef.php new file mode 100644 index 00000000..6c94eb9a --- /dev/null +++ b/includes/libs/rdbms/database/MaintainableDBConnRef.php @@ -0,0 +1,85 @@ +__call( __FUNCTION__, func_get_args() ); + } + + public function tableNames() { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function tableNamesN() { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function sourceFile( + $filename, + callable $lineCallback = null, + callable $resultCallback = null, + $fname = false, + callable $inputCallback = null + ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function sourceStream( + $fp, + callable $lineCallback = null, + callable $resultCallback = null, + $fname = __METHOD__, + callable $inputCallback = null + ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function dropTable( $tableName, $fName = __METHOD__ ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function deadlockLoop() { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function listViews( $prefix = null, $fname = __METHOD__ ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function textFieldSize( $table, $field ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function streamStatementEnd( &$sql, &$newLine ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function duplicateTableStructure( + $oldName, $newName, $temporary = false, $fname = __METHOD__ + ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function tableLocksHaveTransactionScope() { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function lockTables( array $read, array $write, $method ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } + + public function unlockTables( $method ) { + return $this->__call( __FUNCTION__, func_get_args() ); + } +} + +class_alias( MaintainableDBConnRef::class, 'MaintainableDBConnRef' );