-
unknown authored
New item created in find_field_in_table() to fix view's item, was created without taking into account original item's alias. This patch checks if alias is set to the original item and if so sets it to newly created item. sql/sql_base.cc: Fix bug#11399 Alias wasn't set on view column mysql-test/t/view.test: Test case for bug#11399 Use an alias in a select statement on a view mysql-test/r/view.result: Test case for bug#11399 Use an alias in a select statement on a view
2ae3cdcf