My Project
Public Attributes
xarecover_st Struct Reference

List of all members.

Public Attributes

int len
int found_foreign_xids
int found_my_xids
XIDlist
HASH * commit_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.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines