Make tableNamesWithUseIndexOrJOIN() and makeUpdateOptions() protected
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 6 Jan 2014 18:31:26 +0000 (19:31 +0100)
committerSiebrand <siebrand@wikimedia.org>
Mon, 6 Jan 2014 18:47:42 +0000 (18:47 +0000)
Per parents.

Change-Id: I4419e19abac84f8f4e397c4ebc9d1cf2e1f6a945

includes/db/DatabaseMssql.php
includes/db/DatabaseSqlite.php

index f15092f..8937089 100644 (file)
@@ -984,7 +984,7 @@ class DatabaseMssql extends DatabaseBase {
         * @param array $join_conds
         * @return string
         */
-       function tableNamesWithUseIndexOrJOIN( $tables, $use_index = array(), $join_conds = array() ) {
+       protected function tableNamesWithUseIndexOrJOIN( $tables, $use_index = array(), $join_conds = array() ) {
                $ret = array();
                $retJOIN = array();
                $use_index_safe = is_array( $use_index ) ? $use_index : array();
index 1ae2c72..6d2693f 100644 (file)
@@ -520,7 +520,7 @@ class DatabaseSqlite extends DatabaseBase {
         * @param array $options
         * @return string
         */
-       function makeUpdateOptions( $options ) {
+       protected function makeUpdateOptions( $options ) {
                $options = self::fixIgnore( $options );
 
                return parent::makeUpdateOptions( $options );