Fix the valgrind issue for check_purge in ::rotate
Fix versions
Bug#1244741 This commit fixes merge regressions in ha_commit_trans and trans_rollback_stmt
References lp:1244667 - restore thd->server_status after replay
Merge codership 5.5-23 upto revno 3931
References lp:1244661 - added wsrep_register_hton() to trans_rollback_implicit()
References lp:1206129 - check binlog_hton->commit() return value, call wsrep_post_commit() instead of wsrep_cleanup_transaction()
Merge codership 5.5-23 upto revno 3933
References lp:1241760 - save thd->db to wsrep_thd_shadow before replay
Merge codership 5.5-23 upto revno 3934