Merge "Make tableNamesWithUseIndexOrJOIN() and makeUpdateOptions() protected"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 10 Jan 2014 12:24:39 +0000 (12:24 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 10 Jan 2014 12:24:39 +0000 (12:24 +0000)
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 );