| 712 | } |
| 713 | |
| 714 | THD::THD(my_thread_id id, bool is_wsrep_applier) |
| 715 | :Statement(&main_lex, &main_mem_root, STMT_CONVENTIONAL_EXECUTION, |
| 716 | /* statement id */ 0), |
| 717 | rli_fake(0), rgi_fake(0), rgi_slave(NULL), |
| 718 | protocol_text(this), protocol_binary(this), initial_status_var(0), |
| 719 | m_current_stage_key(0), m_psi(0), start_time(0), start_time_sec_part(0), |
| 720 | in_sub_stmt(0), log_all_errors(0), |
| 721 | binlog_unsafe_warning_flags(0), |
| 722 | current_stmt_binlog_format(BINLOG_FORMAT_MIXED), |
| 723 | bulk_param(0), |
| 724 | table_map_for_update(0), |
| 725 | m_sent_row_count(0), |
| 726 | sent_row_count_for_statement(0), |
| 727 | m_examined_row_count(0), |
| 728 | examined_row_count_for_statement(0), |
| 729 | accessed_rows_and_keys(0), |
| 730 | m_digest(NULL), |
| 731 | m_statement_psi(NULL), |
| 732 | m_transaction_psi(NULL), |
| 733 | m_idle_psi(NULL), |
| 734 | col_access(NO_ACL), |
| 735 | thread_id(id), |
| 736 | thread_dbug_id(id), |
| 737 | os_thread_id(0), |
| 738 | global_disable_checkpoint(0), |
| 739 | current_backup_stage(BACKUP_FINISHED), |
| 740 | failed_com_change_user(0), |
| 741 | is_fatal_error(0), |
| 742 | transaction_rollback_request(0), |
| 743 | is_fatal_sub_stmt_error(false), |
| 744 | in_lock_tables(0), |
| 745 | bootstrap(0), |
| 746 | derived_tables_processing(FALSE), |
| 747 | waiting_on_group_commit(FALSE), has_waiter(FALSE), |
| 748 | last_sql_command(SQLCOM_END), spcont(NULL), |
| 749 | m_parser_state(NULL), |
| 750 | #ifndef EMBEDDED_LIBRARY |
| 751 | audit_plugin_version(-1), |
| 752 | #endif |
| 753 | #if defined(ENABLED_DEBUG_SYNC) |
| 754 | debug_sync_control(0), |
| 755 | #endif /* defined(ENABLED_DEBUG_SYNC) */ |
| 756 | wait_for_commit_ptr(0), |
| 757 | m_internal_handler(0), |
| 758 | main_da(0, false, false), |
| 759 | m_stmt_da(&main_da), |
| 760 | tdc_hash_pins(0), |
| 761 | xid_hash_pins(0), |
| 762 | m_tmp_tables_locked(false), |
| 763 | async_state() |
| 764 | #ifdef HAVE_REPLICATION |
| 765 | , |
| 766 | current_linfo(0), |
| 767 | slave_info(0) |
| 768 | #endif |
| 769 | #ifdef WITH_WSREP |
| 770 | , |
| 771 | wsrep_applier(is_wsrep_applier), |
nothing calls this directly
no test coverage detected