mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.4' into 10.5
This commit is contained in:
@ -6187,7 +6187,7 @@ finish:
|
||||
thd->release_transactional_locks();
|
||||
}
|
||||
}
|
||||
else if (! thd->in_sub_stmt && ! thd->in_multi_stmt_transaction_mode())
|
||||
else if (! thd->in_sub_stmt && ! thd->in_active_multi_stmt_transaction())
|
||||
{
|
||||
/*
|
||||
- If inside a multi-statement transaction,
|
||||
@ -7110,6 +7110,7 @@ static bool check_show_access(THD *thd, TABLE_LIST *table)
|
||||
FALSE, FALSE))
|
||||
return TRUE; /* Access denied */
|
||||
|
||||
thd->col_access= dst_table->grant.privilege; // for sql_show.cc
|
||||
/*
|
||||
Check_grant will grant access if there is any column privileges on
|
||||
all of the tables thanks to the fourth parameter (bool show_table).
|
||||
|
Reference in New Issue
Block a user