MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xarecover_st Struct Reference
Collaboration diagram for xarecover_st:

Public Attributes

int len
int found_foreign_xids
int found_my_xids
XIDlist
HASHcommit_list
bool dry_run

Detailed Description

recover() step of xa.

Note
there are three modes of operation:
  • automatic recover after a crash in this case commit_list != 0, tc_heuristic_recover==0 all xids from commit_list are committed, others are rolled back
  • manual (heuristic) recover in this case commit_list==0, tc_heuristic_recover != 0 DBA has explicitly specified that all prepared transactions should be committed (or rolled back).
  • no recovery (MySQL did not detect a crash) in this case commit_list==0, tc_heuristic_recover == 0 there should be no prepared transactions in this case.

Definition at line 1764 of file handler.cc.


The documentation for this struct was generated from the following file: