mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge remote-tracking branch 'github/bb-11.4-release' into bb-11.8-serg
This commit is contained in:
@@ -183,7 +183,7 @@ void make_valid_column_names(THD *thd, List<Item> &item_list)
|
||||
|
||||
for (uint column_no= 1; (item= it++); column_no++)
|
||||
{
|
||||
if (item->is_explicit_name() || !check_column_name(item->name.str))
|
||||
if (item->is_explicit_name() || !check_column_name(item->name))
|
||||
continue;
|
||||
name_len= my_snprintf(buff, NAME_LEN, "Name_exp_%u", column_no);
|
||||
item->orig_name= item->name;
|
||||
@@ -341,7 +341,7 @@ bool create_view_precheck(THD *thd, TABLE_LIST *tables, TABLE_LIST *view,
|
||||
{
|
||||
if (check_single_table_access(thd, SELECT_ACL, tbl, FALSE))
|
||||
{
|
||||
tbl->hide_view_error(thd);
|
||||
tbl->replace_view_error_with_generic(thd);
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user