← Back to team overview

maria-developers team mailing list archive

Re: [Commits] 5f461a9: MDEV-7640: CHANGE MASTER TO doesn't work with prepared statements

 

Hi!

On 17.09.15 00:10, Nirbhay Choubey wrote:
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.

It is OK to push but after expanding the comment about what exactly reset in the persistent statement memory (as we agreed)

[skip]