Fixes a mishandling of table names that have one or more spaces. Since _protect_identifiers assumes a space as a delimiter for the alias section of the FROM clause, this update allows users to override the space delimiter with ' AS ' by setting the new 'as_alias' property = TRUE in the database.php config file.