revision-id: 5f461a94a5aa2e1a20fa559ca612d96b53201e4e
parent(s): 29ac245dd04c5416d57a90b0ab3c4d08cbc4d723
committer: Nirbhay Choubey
branch nick: 5.5
timestamp: 2015-09-16 18:10:06 -0400
message:
MDEV-7640: CHANGE MASTER TO doesn't work with prepared statements
When CHANGE MASTER was executed as a PS, its attributes were wrongly
getting reset toward the end of PREPARE. As a result, the subsequent
executions had no effect. Fixed by making sure that the CHANGE MASTER
attributes are preserved during the lifetime of the PS.