Merge "Fix table loading bug for CRH transliteration"
[lhc/web/wiklou.git] / includes / libs / rdbms / database / MaintainableDBConnRef.php
index b5ff575..6c94eb9 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-use Wikimedia\Rdbms\IMaintainableDatabase;
+namespace Wikimedia\Rdbms;
 
 /**
  * Helper class to handle automatically marking connections as reusable (via RAII pattern)
@@ -68,4 +68,18 @@ class MaintainableDBConnRef extends DBConnRef implements IMaintainableDatabase {
        ) {
                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' );