Home
last modified time | relevance | path

Searched refs:tmp_thd (Results 1 – 25 of 66) sorted by relevance

123

/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/
H A Dsql_reload.cc79 THD *tmp_thd= 0; in reload_acl_and_cache() local
84 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
86 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
107 if (tmp_thd) in reload_acl_and_cache()
109 delete tmp_thd; in reload_acl_and_cache()
152 THD *tmp_thd= 0; in reload_acl_and_cache() local
153 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
155 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
181 if (tmp_thd) in reload_acl_and_cache()
183 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/mysql57-client/mysql-5.7.36/sql/
H A Dsql_reload.cc79 THD *tmp_thd= 0; in reload_acl_and_cache() local
84 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
86 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
107 if (tmp_thd) in reload_acl_and_cache()
109 delete tmp_thd; in reload_acl_and_cache()
152 THD *tmp_thd= 0; in reload_acl_and_cache() local
153 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
155 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
181 if (tmp_thd) in reload_acl_and_cache()
183 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Dsql_reload.cc89 THD *tmp_thd = nullptr; in handle_reload_request() local
94 if (!thd && (thd = (tmp_thd = new THD))) { in handle_reload_request()
95 thd->thread_stack = (char *)&tmp_thd; in handle_reload_request()
114 if (tmp_thd) { in handle_reload_request()
115 delete tmp_thd; in handle_reload_request()
157 THD *tmp_thd = nullptr; in handle_reload_request() local
158 if (!thd && (thd = (tmp_thd = new THD))) { in handle_reload_request()
159 thd->thread_stack = (char *)(&tmp_thd); in handle_reload_request()
178 if (tmp_thd) { in handle_reload_request()
179 delete tmp_thd; in handle_reload_request()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/auth/
H A Dservice_security_context.cc176 THD *tmp_thd = nullptr; in security_context_lookup() local
179 tmp_thd = create_thd(false, true, false, PSI_NOT_INSTRUMENTED); in security_context_lookup()
180 if (!tmp_thd) return true; in security_context_lookup()
183 retval = acl_getroot(tmp_thd ? tmp_thd : current_thd, ctx, user, host, ip, db) in security_context_lookup()
193 if (tmp_thd) { in security_context_lookup()
194 destroy_thd(tmp_thd); in security_context_lookup()
195 tmp_thd = nullptr; in security_context_lookup()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/
H A Dsql_reload.cc79 THD *tmp_thd= 0; in reload_acl_and_cache() local
84 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
86 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
107 if (tmp_thd) in reload_acl_and_cache()
109 delete tmp_thd; in reload_acl_and_cache()
152 THD *tmp_thd= 0; in reload_acl_and_cache() local
153 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
155 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
181 if (tmp_thd) in reload_acl_and_cache()
183 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/
H A Dsql_reload.cc76 THD *tmp_thd= 0; in reload_acl_and_cache() local
81 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
83 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
104 if (tmp_thd) in reload_acl_and_cache()
106 delete tmp_thd; in reload_acl_and_cache()
158 THD *tmp_thd= 0; in reload_acl_and_cache() local
159 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
161 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
194 if (tmp_thd) in reload_acl_and_cache()
196 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/mysql56-client/mysql-5.6.51/sql/
H A Dsql_reload.cc76 THD *tmp_thd= 0; in reload_acl_and_cache() local
81 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
83 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
104 if (tmp_thd) in reload_acl_and_cache()
106 delete tmp_thd; in reload_acl_and_cache()
158 THD *tmp_thd= 0; in reload_acl_and_cache() local
159 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
161 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
194 if (tmp_thd) in reload_acl_and_cache()
196 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/server_component/
H A Dsecurity_context_imp.cc171 THD *tmp_thd = nullptr; variable
174 tmp_thd = create_thd(false, true, false, PSI_NOT_INSTRUMENTED);
175 if (!tmp_thd) return true;
178 retval = acl_getroot(tmp_thd ? tmp_thd : current_thd,
192 if (tmp_thd) {
193 destroy_thd(tmp_thd);
194 tmp_thd = nullptr;
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Dsql_reload.cc75 THD *tmp_thd= 0; in reload_acl_and_cache() local
80 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
82 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
103 if (tmp_thd) in reload_acl_and_cache()
105 delete tmp_thd; in reload_acl_and_cache()
157 THD *tmp_thd= 0; in reload_acl_and_cache() local
158 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
160 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
193 if (tmp_thd) in reload_acl_and_cache()
195 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Dsql_reload.cc75 THD *tmp_thd= 0; in reload_acl_and_cache() local
80 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
82 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
103 if (tmp_thd) in reload_acl_and_cache()
105 delete tmp_thd; in reload_acl_and_cache()
157 THD *tmp_thd= 0; in reload_acl_and_cache() local
158 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
160 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
193 if (tmp_thd) in reload_acl_and_cache()
195 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Dsql_reload.cc75 THD *tmp_thd= 0; in reload_acl_and_cache() local
80 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
82 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
103 if (tmp_thd) in reload_acl_and_cache()
105 delete tmp_thd; in reload_acl_and_cache()
157 THD *tmp_thd= 0; in reload_acl_and_cache() local
158 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
160 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
193 if (tmp_thd) in reload_acl_and_cache()
195 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Dsql_reload.cc78 THD *tmp_thd= 0; in reload_acl_and_cache() local
83 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
85 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
106 if (tmp_thd) in reload_acl_and_cache()
108 delete tmp_thd; in reload_acl_and_cache()
151 THD *tmp_thd= 0; in reload_acl_and_cache() local
152 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
154 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
180 if (tmp_thd) in reload_acl_and_cache()
182 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/
H A Dsql_reload.cc78 THD *tmp_thd= 0; in reload_acl_and_cache() local
83 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
85 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
106 if (tmp_thd) in reload_acl_and_cache()
108 delete tmp_thd; in reload_acl_and_cache()
151 THD *tmp_thd= 0; in reload_acl_and_cache() local
152 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
154 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
180 if (tmp_thd) in reload_acl_and_cache()
182 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/
H A Dsql_reload.cc78 THD *tmp_thd= 0; in reload_acl_and_cache() local
83 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
85 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
106 if (tmp_thd) in reload_acl_and_cache()
108 delete tmp_thd; in reload_acl_and_cache()
151 THD *tmp_thd= 0; in reload_acl_and_cache() local
152 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
154 thd->thread_stack= (char *) (&tmp_thd); in reload_acl_and_cache()
180 if (tmp_thd) in reload_acl_and_cache()
182 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/mysql55-client/mysql-5.5.62/sql/
H A Dsql_reload.cc66 THD *tmp_thd= 0; in reload_acl_and_cache() local
71 if (!thd && (thd= (tmp_thd= new THD))) in reload_acl_and_cache()
73 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
94 if (tmp_thd) in reload_acl_and_cache()
96 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Dsql_reload.cc73 THD *tmp_thd= 0; in reload_acl_and_cache() local
78 if (unlikely(!thd) && (thd= (tmp_thd= new THD(0)))) in reload_acl_and_cache()
80 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
102 if (unlikely(tmp_thd)) in reload_acl_and_cache()
104 delete tmp_thd; in reload_acl_and_cache()
H A Ditem_subselect.cc1354 Item* Item_singlerow_subselect::expr_cache_insert_transformer(THD *tmp_thd, in expr_cache_insert_transformer() argument
1359 DBUG_ASSERT(thd == tmp_thd); in expr_cache_insert_transformer()
1364 if (expr_cache_is_needed(tmp_thd) && in expr_cache_insert_transformer()
1365 (expr_cache= set_expr_cache(tmp_thd))) in expr_cache_insert_transformer()
1367 init_expr_cache_tracker(tmp_thd); in expr_cache_insert_transformer()
1729 Item* Item_exists_subselect::expr_cache_insert_transformer(THD *tmp_thd, in expr_cache_insert_transformer() argument
1733 DBUG_ASSERT(thd == tmp_thd); in expr_cache_insert_transformer()
1738 if (substype() == EXISTS_SUBS && expr_cache_is_needed(tmp_thd) && in expr_cache_insert_transformer()
1739 (expr_cache= set_expr_cache(tmp_thd))) in expr_cache_insert_transformer()
1741 init_expr_cache_tracker(tmp_thd); in expr_cache_insert_transformer()
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/
H A Dsql_reload.cc72 THD *tmp_thd= 0; in reload_acl_and_cache() local
77 if (unlikely(!thd) && (thd= (tmp_thd= new THD(0)))) in reload_acl_and_cache()
79 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
101 if (unlikely(tmp_thd)) in reload_acl_and_cache()
103 delete tmp_thd; in reload_acl_and_cache()
H A Ditem_subselect.cc1318 Item* Item_singlerow_subselect::expr_cache_insert_transformer(THD *tmp_thd, in expr_cache_insert_transformer() argument
1323 DBUG_ASSERT(thd == tmp_thd); in expr_cache_insert_transformer()
1328 if (expr_cache_is_needed(tmp_thd) && in expr_cache_insert_transformer()
1329 (expr_cache= set_expr_cache(tmp_thd))) in expr_cache_insert_transformer()
1331 init_expr_cache_tracker(tmp_thd); in expr_cache_insert_transformer()
1693 Item* Item_exists_subselect::expr_cache_insert_transformer(THD *tmp_thd, in expr_cache_insert_transformer() argument
1697 DBUG_ASSERT(thd == tmp_thd); in expr_cache_insert_transformer()
1702 if (substype() == EXISTS_SUBS && expr_cache_is_needed(tmp_thd) && in expr_cache_insert_transformer()
1703 (expr_cache= set_expr_cache(tmp_thd))) in expr_cache_insert_transformer()
1705 init_expr_cache_tracker(tmp_thd); in expr_cache_insert_transformer()
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/
H A Dsql_reload.cc72 THD *tmp_thd= 0; in reload_acl_and_cache() local
77 if (unlikely(!thd) && (thd= (tmp_thd= new THD(0)))) in reload_acl_and_cache()
79 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
101 if (unlikely(tmp_thd)) in reload_acl_and_cache()
103 delete tmp_thd; in reload_acl_and_cache()
H A Ditem_subselect.cc1318 Item* Item_singlerow_subselect::expr_cache_insert_transformer(THD *tmp_thd, in expr_cache_insert_transformer() argument
1323 DBUG_ASSERT(thd == tmp_thd); in expr_cache_insert_transformer()
1328 if (expr_cache_is_needed(tmp_thd) && in expr_cache_insert_transformer()
1329 (expr_cache= set_expr_cache(tmp_thd))) in expr_cache_insert_transformer()
1331 init_expr_cache_tracker(tmp_thd); in expr_cache_insert_transformer()
1693 Item* Item_exists_subselect::expr_cache_insert_transformer(THD *tmp_thd, in expr_cache_insert_transformer() argument
1697 DBUG_ASSERT(thd == tmp_thd); in expr_cache_insert_transformer()
1702 if (substype() == EXISTS_SUBS && expr_cache_is_needed(tmp_thd) && in expr_cache_insert_transformer()
1703 (expr_cache= set_expr_cache(tmp_thd))) in expr_cache_insert_transformer()
1705 init_expr_cache_tracker(tmp_thd); in expr_cache_insert_transformer()
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Dsql_reload.cc72 THD *tmp_thd= 0; in reload_acl_and_cache() local
77 if (unlikely(!thd) && (thd= (tmp_thd= new THD(0)))) in reload_acl_and_cache()
79 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
101 if (unlikely(tmp_thd)) in reload_acl_and_cache()
103 delete tmp_thd; in reload_acl_and_cache()
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Dsql_reload.cc72 THD *tmp_thd= 0; in reload_acl_and_cache() local
77 if (unlikely(!thd) && (thd= (tmp_thd= new THD(0)))) in reload_acl_and_cache()
79 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
101 if (unlikely(tmp_thd)) in reload_acl_and_cache()
103 delete tmp_thd; in reload_acl_and_cache()
H A Ditem_subselect.cc1308 Item* Item_singlerow_subselect::expr_cache_insert_transformer(THD *tmp_thd, in expr_cache_insert_transformer() argument
1313 DBUG_ASSERT(thd == tmp_thd); in expr_cache_insert_transformer()
1318 if (expr_cache_is_needed(tmp_thd) && in expr_cache_insert_transformer()
1319 (expr_cache= set_expr_cache(tmp_thd))) in expr_cache_insert_transformer()
1321 init_expr_cache_tracker(tmp_thd); in expr_cache_insert_transformer()
1662 Item* Item_exists_subselect::expr_cache_insert_transformer(THD *tmp_thd, in expr_cache_insert_transformer() argument
1666 DBUG_ASSERT(thd == tmp_thd); in expr_cache_insert_transformer()
1671 if (substype() == EXISTS_SUBS && expr_cache_is_needed(tmp_thd) && in expr_cache_insert_transformer()
1672 (expr_cache= set_expr_cache(tmp_thd))) in expr_cache_insert_transformer()
1674 init_expr_cache_tracker(tmp_thd); in expr_cache_insert_transformer()
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Dsql_reload.cc73 THD *tmp_thd= 0; in reload_acl_and_cache() local
78 if (unlikely(!thd) && (thd= (tmp_thd= new THD(0)))) in reload_acl_and_cache()
80 thd->thread_stack= (char*) &tmp_thd; in reload_acl_and_cache()
102 if (unlikely(tmp_thd)) in reload_acl_and_cache()
104 delete tmp_thd; in reload_acl_and_cache()

123