List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:September 23 2010 8:24am
Subject:bzr commit into mysql-5.1-telco-7.0 branch (jonas:3785)
View as plain text  
#At file:///home/jonas/src/telco-7.0/ based on revid:magnus.blaudd@stripped

 3785 Jonas Oreland	2010-09-23
      ndb - "rm -v" is not portable (even on unix)

    modified:
      storage/ndb/test/src/NdbBackup.cpp
=== modified file 'storage/ndb/test/src/NdbBackup.cpp'
--- a/storage/ndb/test/src/NdbBackup.cpp	2010-06-14 12:16:32 +0000
+++ b/storage/ndb/test/src/NdbBackup.cpp	2010-09-23 08:24:52 +0000
@@ -64,7 +64,7 @@ NdbBackup::clearOldBackups()
      * Clear old backup files
      */ 
     BaseString tmp;
-    tmp.assfmt("ssh -v %s rm -rfv %s/BACKUP", host, path);
+    tmp.assfmt("ssh -v %s rm -rf %s/BACKUP", host, path);
   
     ndbout << "buf: "<< tmp.c_str() <<endl;
     int res = system(tmp.c_str());  


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20100923082452-w21muy71ezcdzhv5.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (jonas:3785) Jonas Oreland23 Sep