Followup to r81657, you do need a space between the table name and the alias
authorOverlordQ <overlordq@users.mediawiki.org>
Tue, 8 Feb 2011 15:34:28 +0000 (15:34 +0000)
committerOverlordQ <overlordq@users.mediawiki.org>
Tue, 8 Feb 2011 15:34:28 +0000 (15:34 +0000)
includes/db/Database.php

index 66a6d84..43342c7 100644 (file)
@@ -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 );
                }
        }