mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 11:45:32 +02:00
Merge from mysql-5.5-runtime to mysql-5.5-bugteam
No conflicts
This commit is contained in:
commit
2215dc3cc1
95 changed files with 6702 additions and 1882 deletions
|
|
@ -671,7 +671,7 @@ mysqld_show_create(THD *thd, TABLE_LIST *table_list)
|
|||
Metadata locks taken during SHOW CREATE should be released when
|
||||
the statmement completes as it is an information statement.
|
||||
*/
|
||||
MDL_ticket *mdl_savepoint= thd->mdl_context.mdl_savepoint();
|
||||
MDL_savepoint mdl_savepoint= thd->mdl_context.mdl_savepoint();
|
||||
|
||||
/* We want to preserve the tree for views. */
|
||||
thd->lex->view_prepare_mode= TRUE;
|
||||
|
|
@ -3189,7 +3189,7 @@ try_acquire_high_prio_shared_mdl_lock(THD *thd, TABLE_LIST *table,
|
|||
{
|
||||
bool error;
|
||||
table->mdl_request.init(MDL_key::TABLE, table->db, table->table_name,
|
||||
MDL_SHARED_HIGH_PRIO);
|
||||
MDL_SHARED_HIGH_PRIO, MDL_TRANSACTION);
|
||||
|
||||
if (can_deadlock)
|
||||
{
|
||||
|
|
@ -7748,7 +7748,7 @@ bool show_create_trigger(THD *thd, const sp_name *trg_name)
|
|||
Metadata locks taken during SHOW CREATE TRIGGER should be released when
|
||||
the statement completes as it is an information statement.
|
||||
*/
|
||||
MDL_ticket *mdl_savepoint= thd->mdl_context.mdl_savepoint();
|
||||
MDL_savepoint mdl_savepoint= thd->mdl_context.mdl_savepoint();
|
||||
|
||||
/*
|
||||
Open the table by name in order to load Table_triggers_list object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue