XA Transactions examples for http://www.percona.com/live/mysql-conference-2013/sessions/distributed-transactions-primer-mysql