# HG changeset patch
# User Marian Marinov <[email protected]>
# Date 1268267209 -7200
# Branch mysql-ms
# Node ID c5304bc37c11e348f113b5701f2cb680d452deaa
# Parent  cacb3e119fd9da6a7ea3c9f1d2d4f19d8e5b3bf6
Low: RA: mysql: fixed invalid var slave_user in is_slave

I have changed the variable name but not at all places. Now it is working

diff -r cacb3e119fd9 -r c5304bc37c11 heartbeat/mysql
--- a/heartbeat/mysql   Thu Mar 11 02:24:47 2010 +0200
+++ b/heartbeat/mysql   Thu Mar 11 02:26:49 2010 +0200
@@ -359,7 +359,7 @@
                fi
        else
                if [ "$slave_io" = 'Yes' ] || [ "$slave_sql" = 'Yes' ]; then
-                       if [ "$slave_user" = "$OCF_RESKEY_replication_user" ]; 
then
+                       if [ "$master_user" = "$OCF_RESKEY_replication_user" ]; 
then
                                # machine is slave
                                return 0;
                        fi
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to