• unknown's avatar
    Fixed XA recovery for InnoDB. Note that XA recovery is still disabled · ea24940f
    unknown authored
    until it has been comprehensive tested.
    
    
    innobase/log/log0log.c:
      Added general documentation of InnoDB redo-logs.
    innobase/trx/trx0roll.c:
      Prepared transactions are not rolled back in a recovery if
      innobase_force_recovery = 0. But they are rolled back if
      innobase_force_recovery > 0.
    innobase/trx/trx0trx.c:
      Disable the XA code in InnoDB crash recovery until it has been
      comprehensive tested. SHOW INNODB STATUS now prints different
      output for prepared transactions.
    innobase/trx/trx0undo.c:
      Do not unnecessary write X/Open XA XID. XID is written in the prepare.
      Space for a XID should be reserved at this stage.
    sql/ha_innodb.cc:
      Remove error.
    ea24940f
ha_innodb.cc 183 KB