Ok to push, in 5.2 only
Please see the bug report for rationales about 5.2
Also, make sure to comply with the indentation in sql_parse.yy,
when pushing the code.
Thanks,
Marc
Davi Arnaut wrote:
> Below is the list of changes that have just been committed into a local
> 5.2 repository of davi. When davi does a push these changes will
> be propagated to the main repository and, within 24 hours after the
> push, to the public repository.
> For information on how to access the public repository
> see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
>
> ChangeSet@stripped, 2007-10-08 08:47:51-03:00, davi@stripped +3 -0
> Bug#27249 table_wild with alias: select t1.* as something
>
> Aliases to table wildcards are silently ignored, but they should
> not be allowed as it is non-standard and currently useless. There
> is not point in having a alias to a wildcard of column names.
>
> The solution is to rewrite the select_item rule so that aliases
> for table wildcards are not accepted.
>
> Contribution by Martin Friebe
>
> mysql-test/r/alias.result@stripped, 2007-10-08 08:47:48-03:00, davi@stripped +139
> -0
> Add test case result for Bug#27249
>
> mysql-test/t/alias.test@stripped, 2007-10-08 08:47:48-03:00, davi@stripped +129 -0
> Add test case for Bug#27249
>
> sql/sql_yacc.yy@stripped, 2007-10-08 08:47:48-03:00, davi@stripped +9 -7
> Split up select_item rule so that aliases for table wildcards
> are not accepted by the parser.
>
>