Home
last modified time | relevance | path

Searched refs:protection_request (Results 1 – 25 of 33) sorted by relevance

12

/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Dvers_utils.h19 MDL_request protection_request;
25 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE,
27 error= thd->mdl_context.acquire_lock(&protection_request, thd->variables.lock_wait_timeout);
33 thd->mdl_context.release_lock(protection_request.ticket);
H A Dsql_insert.cc531 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
553 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_and_lock_for_insert_delayed()
556 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
569 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
H A Dsql_base.cc1786 MDL_request protection_request;
1792 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE,
1800 bool result= thd->mdl_context.acquire_lock(&protection_request,
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Dvers_utils.h19 MDL_request protection_request; in MDL_auto_lock() local
25 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in MDL_auto_lock()
27 error= thd->mdl_context.acquire_lock(&protection_request, thd->variables.lock_wait_timeout); in MDL_auto_lock()
33 thd->mdl_context.release_lock(protection_request.ticket); in MDL_auto_lock()
H A Dsql_insert.cc531 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
553 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_and_lock_for_insert_delayed()
556 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
569 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
H A Dsql_base.cc1786 MDL_request protection_request; in open_table() local
1792 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_table()
1800 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Dsql_insert.cc534 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
562 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_and_lock_for_insert_delayed()
565 if (thd->mdl_context.acquire_lock(&protection_request, timeout)) in open_and_lock_for_insert_delayed()
582 if (delayed_get_table(thd, &protection_request, &backup_protection, in open_and_lock_for_insert_delayed()
H A Dsql_base.cc2908 MDL_request protection_request; in open_table() local
2914 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_table()
2922 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Dsql_insert.cc534 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
562 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_and_lock_for_insert_delayed()
565 if (thd->mdl_context.acquire_lock(&protection_request, timeout)) in open_and_lock_for_insert_delayed()
582 if (delayed_get_table(thd, &protection_request, &backup_protection, in open_and_lock_for_insert_delayed()
H A Dsql_base.cc2908 MDL_request protection_request; in open_table() local
2914 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_table()
2922 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Dsql_insert.cc534 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
562 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_and_lock_for_insert_delayed()
565 if (thd->mdl_context.acquire_lock(&protection_request, timeout)) in open_and_lock_for_insert_delayed()
582 if (delayed_get_table(thd, &protection_request, &backup_protection, in open_and_lock_for_insert_delayed()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/
H A Dsql_insert.cc532 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
554 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_and_lock_for_insert_delayed()
557 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
570 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
H A Dsql_base.cc2871 MDL_request protection_request; in open_table() local
2877 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_table()
2885 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/mysql56-client/mysql-5.6.51/sql/
H A Dsql_insert.cc532 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
554 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_and_lock_for_insert_delayed()
557 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
570 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
H A Dsql_base.cc2868 MDL_request protection_request; in open_table() local
2874 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_table()
2882 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/mysql55-client/mysql-5.5.62/sql/
H A Dsql_insert.cc532 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
547 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_and_lock_for_insert_delayed()
550 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
563 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
H A Dsql_base.cc2902 MDL_request protection_request; in open_table() local
2908 protection_request.init(MDL_key::GLOBAL, "", "", MDL_INTENTION_EXCLUSIVE, in open_table()
2916 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/
H A Dsql_insert.cc535 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
557 protection_request.init(MDL_key::BACKUP, "", "", MDL_BACKUP_DML, in open_and_lock_for_insert_delayed()
560 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
573 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/
H A Dsql_insert.cc535 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
557 protection_request.init(MDL_key::BACKUP, "", "", MDL_BACKUP_DML, in open_and_lock_for_insert_delayed()
560 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
573 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Dsql_insert.cc536 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
558 MDL_REQUEST_INIT(&protection_request, MDL_key::BACKUP, "", "", in open_and_lock_for_insert_delayed()
561 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
574 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
H A Dsql_base.cc2074 MDL_request protection_request; in open_table() local
2084 MDL_REQUEST_INIT(&protection_request, MDL_key::BACKUP, "", "", mdl_type, in open_table()
2092 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Dsql_insert.cc536 MDL_request protection_request; in open_and_lock_for_insert_delayed() local
558 MDL_REQUEST_INIT(&protection_request, MDL_key::BACKUP, "", "", in open_and_lock_for_insert_delayed()
561 if (thd->mdl_context.acquire_lock(&protection_request, in open_and_lock_for_insert_delayed()
574 if (delayed_get_table(thd, &protection_request, table_list)) in open_and_lock_for_insert_delayed()
H A Dsql_base.cc2074 MDL_request protection_request; in open_table() local
2084 MDL_REQUEST_INIT(&protection_request, MDL_key::BACKUP, "", "", mdl_type, in open_table()
2092 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/mysql57-client/mysql-5.7.36/sql/
H A Dsql_base.cc3258 MDL_request protection_request; in open_table() local
3264 MDL_REQUEST_INIT(&protection_request, in open_table()
3278 bool result= thd->mdl_context.acquire_lock(&protection_request, in open_table()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Dsql_base.cc2988 MDL_request protection_request; in open_table() local
2993 MDL_REQUEST_INIT(&protection_request, MDL_key::GLOBAL, "", "", in open_table()
3006 bool result = thd->mdl_context.acquire_lock(&protection_request, in open_table()

12