Merge "sql.php: Fix typos"
This commit is contained in:
commit
1ed7ad4ffb
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ class MwSql extends Maintenance {
|
|||
public function execute() {
|
||||
global $IP;
|
||||
|
||||
// We wan't to allow "" for the wikidb, meaning don't call select_db()
|
||||
// We want to allow "" for the wikidb, meaning don't call select_db()
|
||||
$wiki = $this->hasOption( 'wikidb' ) ? $this->getOption( 'wikidb' ) : false;
|
||||
// Get the appropriate load balancer (for this wiki)
|
||||
$lbFactory = MediaWikiServices::getInstance()->getDBLoadBalancerFactory();
|
||||
|
|
@ -147,7 +147,7 @@ class MwSql extends Maintenance {
|
|||
continue;
|
||||
}
|
||||
if ( $historyFile ) {
|
||||
# Delimiter is eated by streamStatementEnd, we add it
|
||||
# Delimiter is eaten by streamStatementEnd, we add it
|
||||
# up in the history (T39020)
|
||||
readline_add_history( $wholeLine . ';' );
|
||||
readline_write_history( $historyFile );
|
||||
|
|
|
|||
Loading…
Reference in a new issue