Fix wsrep_commit_cb() and wsrep_rollback_cb() callbacks
Bug #884560 reported by
Alex Yurchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.1 |
Won't Fix
|
Wishlist
|
Seppo Jaakola | |||
5.5 |
Fix Released
|
Wishlist
|
Alex Yurchenko | |||
5.6 |
Fix Released
|
Wishlist
|
Seppo Jaakola |
Bug Description
Currently wsrep_commit_cb() and wsrep_rollback_cb() execute "COMMIT" and "ROLLBACK" SQL statements respectively, meaning going through the parser and all that.
Make them use end_trans() in 5.1 and corresponding thing in 5.5 instead.
Related branches
To post a comment you must log in.
Trial fix for 5.5 (and probably suitable for 5.6 as well) pushed in lp:codership-mysql/5.5 r3842. Instead of "dispatching" COMMIT and ROLLBACK commands it calls trans_commit() and trans_rollback() respectively.