Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[CONJ-289] PrepareStatement on master reconnection after a failover
  • Loading branch information
rusher committed Apr 28, 2016
1 parent 58f90dc commit d50a38c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -164,7 +164,7 @@ public Protocol getUnProxiedProtocol() {
* @return true if has to be reprepared on Slave connection
*/
public boolean mustRePrepareOnSlave() {
return executeOnMaster == unProxiedProtocol.isMasterConnection();
return executeOnMaster == false && unProxiedProtocol.isMasterConnection();
}

public boolean isExecuteOnMaster() {
Expand Down

0 comments on commit d50a38c

Please sign in to comment.