Permalink
Browse files

reset slave all is for 5.5.16+

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

0 comments on commit 226591d

Please sign in to comment.