Skip to content

Commit

Permalink
Fix for glb #11
Browse files Browse the repository at this point in the history
  • Loading branch information
joffrey92 committed Apr 24, 2014
1 parent a82112e commit 55f39bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ do
then
STATE=$(echo $RES | cut -d ' ' -f 2)
# Fix garbd issue that shows empty string in wsrep_incoming_addresses : Bug https://github.com/codership/glb/issues/11
OTHERS=$(echo $RES | cut -d ' ' -f 4 | sed -e 's/^,//g' -e 's/,,*/,/g' -e 's/,$//g' )
OTHERS=$(echo $RES | cut -d ' ' -f 4 | sed -e 's/,,*/,/g' -e 's/^,//g' -e 's/,$//g')
# If wsrep_local_state variable was not found on the server, we assume it
# is a regular MySQL and is ready for connections (it accepted connection)
STATE=${STATE:-"4"}
Expand Down

0 comments on commit 55f39bf

Please sign in to comment.