Home
last modified time | relevance | path

Searched refs:c_thd (Results 1 – 25 of 26) sorted by relevance

12

/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/auth/
H A Dsql_user_table.h51 Acl_table_intact(THD *c_thd, enum loglevel log_level = ERROR_LEVEL)
52 : System_table_intact(c_thd, log_level) {} in System_table_intact() argument
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Dsrv_session.cc460 THD *c_thd = current_thd; in Session_backup_and_attach() local
461 backup_thd = c_thd; in Session_backup_and_attach()
467 if (THR_srv_session_thread && c_thd && in Session_backup_and_attach()
468 c_thd->get_plugin() == session->thd.get_plugin()) { in Session_backup_and_attach()
473 if (is_plugin && c_thd != &session->thd && in Session_backup_and_attach()
474 (old_session = server_session_list.find(c_thd))) { in Session_backup_and_attach()
633 THD *c_thd = current_thd; in close_currently_attached_session_if_any() local
634 if (!c_thd) return; in close_currently_attached_session_if_any()
636 Srv_session *current_session = server_session_list.find(c_thd); in close_currently_attached_session_if_any()
H A Drpl_rli_pdb.cc702 THD *c_thd = current_thd; in free_entry() local
708 DBUG_ASSERT(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
718 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Dsrv_session.cc536 THD *c_thd= current_thd; in Session_backup_and_attach() local
538 backup_thd= is_srv_session_thread? NULL:c_thd; in Session_backup_and_attach()
540 if (is_srv_session_thread && c_thd && c_thd != &session->thd) in Session_backup_and_attach()
542 if ((old_session= server_session_list.find(c_thd))) in Session_backup_and_attach()
760 THD *c_thd= current_thd; in close_currently_attached_session_if_any() local
761 if (!c_thd) in close_currently_attached_session_if_any()
764 Srv_session* current_session= server_session_list.find(c_thd); in close_currently_attached_session_if_any()
H A Drpl_rli_pdb.cc755 THD *c_thd= current_thd; in free_entry() local
761 assert(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
771 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/
H A Dsrv_session.cc536 THD *c_thd= current_thd; in Session_backup_and_attach() local
538 backup_thd= is_srv_session_thread? NULL:c_thd; in Session_backup_and_attach()
540 if (is_srv_session_thread && c_thd && c_thd != &session->thd) in Session_backup_and_attach()
542 if ((old_session= server_session_list.find(c_thd))) in Session_backup_and_attach()
760 THD *c_thd= current_thd; in close_currently_attached_session_if_any() local
761 if (!c_thd) in close_currently_attached_session_if_any()
764 Srv_session* current_session= server_session_list.find(c_thd); in close_currently_attached_session_if_any()
H A Drpl_rli_pdb.cc712 THD *c_thd= current_thd; in free_entry() local
718 assert(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
728 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/
H A Dsrv_session.cc536 THD *c_thd= current_thd; in Session_backup_and_attach() local
538 backup_thd= is_srv_session_thread? NULL:c_thd; in Session_backup_and_attach()
540 if (is_srv_session_thread && c_thd && c_thd != &session->thd) in Session_backup_and_attach()
542 if ((old_session= server_session_list.find(c_thd))) in Session_backup_and_attach()
760 THD *c_thd= current_thd; in close_currently_attached_session_if_any() local
761 if (!c_thd) in close_currently_attached_session_if_any()
764 Srv_session* current_session= server_session_list.find(c_thd); in close_currently_attached_session_if_any()
H A Drpl_rli_pdb.cc755 THD *c_thd= current_thd; in free_entry() local
761 assert(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
771 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/
H A Dsrv_session.cc540 THD *c_thd= current_thd; in Session_backup_and_attach() local
542 backup_thd= is_srv_session_thread? NULL:c_thd; in Session_backup_and_attach()
544 if (is_srv_session_thread && c_thd && c_thd != &session->thd) in Session_backup_and_attach()
546 if ((old_session= server_session_list.find(c_thd))) in Session_backup_and_attach()
764 THD *c_thd= current_thd; in close_currently_attached_session_if_any() local
765 if (!c_thd) in close_currently_attached_session_if_any()
768 Srv_session* current_session= server_session_list.find(c_thd); in close_currently_attached_session_if_any()
H A Drpl_rli_pdb.cc712 THD *c_thd= current_thd; in free_entry() local
718 DBUG_ASSERT(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
728 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/
H A Dsrv_session.cc536 THD *c_thd= current_thd; in Session_backup_and_attach() local
538 backup_thd= is_srv_session_thread? NULL:c_thd; in Session_backup_and_attach()
540 if (is_srv_session_thread && c_thd && c_thd != &session->thd) in Session_backup_and_attach()
542 if ((old_session= server_session_list.find(c_thd))) in Session_backup_and_attach()
760 THD *c_thd= current_thd; in close_currently_attached_session_if_any() local
761 if (!c_thd) in close_currently_attached_session_if_any()
764 Srv_session* current_session= server_session_list.find(c_thd); in close_currently_attached_session_if_any()
H A Drpl_rli_pdb.cc755 THD *c_thd= current_thd; in free_entry() local
761 assert(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
771 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/mysql57-client/mysql-5.7.36/sql/
H A Dsrv_session.cc536 THD *c_thd= current_thd; in Session_backup_and_attach() local
538 backup_thd= is_srv_session_thread? NULL:c_thd; in Session_backup_and_attach()
540 if (is_srv_session_thread && c_thd && c_thd != &session->thd) in Session_backup_and_attach()
542 if ((old_session= server_session_list.find(c_thd))) in Session_backup_and_attach()
760 THD *c_thd= current_thd; in close_currently_attached_session_if_any() local
761 if (!c_thd) in close_currently_attached_session_if_any()
764 Srv_session* current_session= server_session_list.find(c_thd); in close_currently_attached_session_if_any()
H A Drpl_rli_pdb.cc712 THD *c_thd= current_thd; in free_entry() local
718 assert(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
728 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/
H A Drpl_rli_pdb.cc654 THD *c_thd= current_thd; in free_entry() local
660 DBUG_ASSERT(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
670 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/mysql56-client/mysql-5.6.51/sql/
H A Drpl_rli_pdb.cc654 THD *c_thd= current_thd; in free_entry() local
660 DBUG_ASSERT(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
670 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Drpl_rli_pdb.cc697 THD *c_thd= current_thd; in free_entry() local
703 DBUG_ASSERT(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
713 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Drpl_rli_pdb.cc697 THD *c_thd= current_thd; in free_entry() local
703 DBUG_ASSERT(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
713 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Drpl_rli_pdb.cc697 THD *c_thd= current_thd; in free_entry() local
703 DBUG_ASSERT(c_thd->system_thread == SYSTEM_THREAD_SLAVE_SQL); in free_entry()
713 mts_move_temp_tables_to_thd(c_thd, entry->temporary_tables); in free_entry()
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/spider/
H A Dspd_db_conn.cc10370 THD *thd = trx->thd, *c_thd = current_thd; in spider_db_udf_direct_sql() local
10404 direct_sql->open_tables_thd = c_thd; in spider_db_udf_direct_sql()
10409 if (c_thd != thd) in spider_db_udf_direct_sql()
10422 if (c_thd->transaction.stmt.ha_list) in spider_db_udf_direct_sql()
10451 sql_command_backup = c_thd->lex->sql_command; in spider_db_udf_direct_sql()
10452 c_thd->lex->sql_command = SQLCOM_INSERT; in spider_db_udf_direct_sql()
10481 c_thd->lex->sql_command = sql_command_backup; in spider_db_udf_direct_sql()
10537 table->in_use = c_thd; in spider_db_udf_direct_sql()
10726 (void) ha_rollback_trans(c_thd, FALSE); in spider_db_udf_direct_sql()
10728 (void) ha_rollback_trans(c_thd, TRUE); in spider_db_udf_direct_sql()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/spider/
H A Dspd_db_conn.cc10370 THD *thd = trx->thd, *c_thd = current_thd; in spider_db_udf_direct_sql() local
10404 direct_sql->open_tables_thd = c_thd; in spider_db_udf_direct_sql()
10409 if (c_thd != thd) in spider_db_udf_direct_sql()
10422 if (c_thd->transaction.stmt.ha_list) in spider_db_udf_direct_sql()
10451 sql_command_backup = c_thd->lex->sql_command; in spider_db_udf_direct_sql()
10452 c_thd->lex->sql_command = SQLCOM_INSERT; in spider_db_udf_direct_sql()
10481 c_thd->lex->sql_command = sql_command_backup; in spider_db_udf_direct_sql()
10537 table->in_use = c_thd; in spider_db_udf_direct_sql()
10726 (void) ha_rollback_trans(c_thd, FALSE); in spider_db_udf_direct_sql()
10728 (void) ha_rollback_trans(c_thd, TRUE); in spider_db_udf_direct_sql()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/spider/
H A Dspd_db_conn.cc10056 THD *thd = trx->thd, *c_thd = current_thd; in spider_db_udf_direct_sql() local
10090 direct_sql->open_tables_thd = c_thd; in spider_db_udf_direct_sql()
10095 if (c_thd != thd) in spider_db_udf_direct_sql()
10108 if (c_thd->transaction.stmt.ha_list) in spider_db_udf_direct_sql()
10137 sql_command_backup = c_thd->lex->sql_command; in spider_db_udf_direct_sql()
10138 c_thd->lex->sql_command = SQLCOM_INSERT; in spider_db_udf_direct_sql()
10167 c_thd->lex->sql_command = sql_command_backup; in spider_db_udf_direct_sql()
10223 table->in_use = c_thd; in spider_db_udf_direct_sql()
10412 (void) ha_rollback_trans(c_thd, FALSE); in spider_db_udf_direct_sql()
10414 (void) ha_rollback_trans(c_thd, TRUE); in spider_db_udf_direct_sql()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/spider/
H A Dspd_db_conn.cc10056 THD *thd = trx->thd, *c_thd = current_thd; in spider_db_udf_direct_sql() local
10090 direct_sql->open_tables_thd = c_thd; in spider_db_udf_direct_sql()
10095 if (c_thd != thd) in spider_db_udf_direct_sql()
10108 if (c_thd->transaction.stmt.ha_list) in spider_db_udf_direct_sql()
10137 sql_command_backup = c_thd->lex->sql_command; in spider_db_udf_direct_sql()
10138 c_thd->lex->sql_command = SQLCOM_INSERT; in spider_db_udf_direct_sql()
10167 c_thd->lex->sql_command = sql_command_backup; in spider_db_udf_direct_sql()
10223 table->in_use = c_thd; in spider_db_udf_direct_sql()
10412 (void) ha_rollback_trans(c_thd, FALSE); in spider_db_udf_direct_sql()
10414 (void) ha_rollback_trans(c_thd, TRUE); in spider_db_udf_direct_sql()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/spider/
H A Dspd_db_conn.cc10899 THD *thd = trx->thd, *c_thd = current_thd; in spider_db_udf_direct_sql() local
10933 direct_sql->open_tables_thd = c_thd; in spider_db_udf_direct_sql()
10938 if (c_thd != thd) in spider_db_udf_direct_sql()
10951 if (c_thd->transaction->stmt.ha_list) in spider_db_udf_direct_sql()
10980 sql_command_backup = c_thd->lex->sql_command; in spider_db_udf_direct_sql()
10981 c_thd->lex->sql_command = SQLCOM_INSERT; in spider_db_udf_direct_sql()
11010 c_thd->lex->sql_command = sql_command_backup; in spider_db_udf_direct_sql()
11066 table->in_use = c_thd; in spider_db_udf_direct_sql()
11255 (void) ha_rollback_trans(c_thd, FALSE); in spider_db_udf_direct_sql()
11257 (void) ha_rollback_trans(c_thd, TRUE); in spider_db_udf_direct_sql()
[all …]

12