Permalink
Browse files

Adding ALL with special mysql comment for 5.5+ to reset slave

  • Loading branch information...
y-trudeau committed Oct 16, 2012
1 parent 5166c97 commit f9659af447891d3daf06ab1a63c2cca0ad8b48fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 heartbeat/mysql
View
@@ -709,7 +709,7 @@ unset_master(){
fi
ocf_run $MYSQL $MYSQL_OPTIONS_REPL \
- -e "RESET SLAVE;"
+ -e "RESET SLAVE /*!50500 ALL */;"
if [ $? -gt 0 ]; then
ocf_log err "Failed to reset slave"
exit $OCF_ERR_GENERIC

0 comments on commit f9659af

Please sign in to comment.