mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Backport of:
------------------------------------------------------------ revno: 2630.9.2 committer: Dmitry Lenev <dlenev@mysql.com> branch nick: mysql-6.0-3726-w3 timestamp: Tue 2008-06-10 18:01:56 +0400 message: WL#3726 "DDL locking for all metadata objects". After review fixes in progress.
This commit is contained in:
@ -3145,7 +3145,7 @@ static int fill_schema_table_from_frm(THD *thd,TABLE *table,
|
||||
*/
|
||||
while (1)
|
||||
{
|
||||
if (mdl_acquire_shared_lock(&mdl_lock_data, &retry))
|
||||
if (mdl_acquire_shared_lock(&thd->mdl_context, &mdl_lock_data, &retry))
|
||||
{
|
||||
if (!retry || mdl_wait_for_locks(&thd->mdl_context))
|
||||
{
|
||||
|
Reference in New Issue
Block a user