From e254505337f215ccd66b1bdb5004662214633c20 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 17 May 2012 17:18:05 +0000 Subject: [PATCH] fix defect 3526288 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/mysqlsetup | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/xCAT-client/bin/mysqlsetup b/xCAT-client/bin/mysqlsetup index 04b51dff3..63a0d5c2b 100755 --- a/xCAT-client/bin/mysqlsetup +++ b/xCAT-client/bin/mysqlsetup @@ -1012,10 +1012,10 @@ sub setupxcatdb my $mysql_prompt = 'mysql> '; my $expect_log = undef; my $debug = 0; - if ($::VERBOSE) - { - $debug = 1; - } + #if ($::VERBOSE) + #{ + # $debug = 1; + #} $mysql = new Expect; my $createuser = "CREATE USER xcatadmin IDENTIFIED BY \'$::adminpassword\';\r"; @@ -1132,10 +1132,10 @@ sub setupLL my $mysql_prompt = 'mysql> '; my $expect_log = undef; my $debug = 0; - if ($::VERBOSE) - { - $debug = 1; - } + #if ($::VERBOSE) + #{ + # $debug = 1; + #} $mysql = new Expect; my $setLLfunction = "SET GLOBAL log_bin_trust_function_creators=1;\r"; @@ -1241,10 +1241,10 @@ sub addhosts { my @hosts; my $debug = 0; - if ($::VERBOSE) - { - $debug = 1; - } + #if ($::VERBOSE) + #{ + # $debug = 1; + #} open(HOSTFILE, "<$::HOSTFILE") or