Commit 621ac0be authored by Paul McCullagh's avatar Paul McCullagh

Removed the assertion that assumes InnoDB is the only engine that supports XA

parent 6a8ec4a2
......@@ -1588,7 +1588,12 @@ int ha_recover(HASH *commit_list)
for now, only InnoDB supports 2pc. It means we can always safely
rollback all pending transactions, without risking inconsistent data
*/
DBUG_ASSERT(total_ha_2pc == (ulong) opt_bin_log+1); // only InnoDB and binlog
/* TODO: FIX THIS (2009-11-25)!
With PBXT 1.0.09 2 engines now support XA. For the moment I am just taking
out the assertion which fails because pbxt_xa_support is enabled by
default.
*/
//DBUG_ASSERT(total_ha_2pc == (ulong) opt_bin_log+1); // only InnoDB and binlog
tc_heuristic_recover= TC_HEURISTIC_RECOVER_ROLLBACK; // forcing ROLLBACK
info.dry_run=FALSE;
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment