From 295dbec295dd610ec996bd56923b83bd8a2cdaee Mon Sep 17 00:00:00 2001 From: OverlordQ Date: Tue, 8 Feb 2011 15:34:28 +0000 Subject: [PATCH] Followup to r81657, you do need a space between the table name and the alias --- includes/db/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 66a6d84a8a..43342c772d 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1625,7 +1625,7 @@ abstract class DatabaseBase implements DatabaseType { if ( !$alias || $alias == $name ) { return $this->tableName( $name ); } else { - return $this->tableName( $name ) . $this->addQuotes( $alias ); + return $this->tableName( $name ) . ' ' . $this->addQuotes( $alias ); } } -- 2.20.1