From 161854437d02ef14cd64ec43b6a8f38cbf50771e Mon Sep 17 00:00:00 2001 From: Vincenzo Innocente Date: Thu, 12 Nov 2009 12:30:54 +0000 Subject: [PATCH] --- yaml --- r: 77753 b: "refs/heads/CMSSW_7_1_X" c: c059db79556393cde3a68f177191f908832d4c13 h: "refs/heads/CMSSW_7_1_X" i: 77751: 3d595dcb59e8d5cff758180fe63be3045d781b7f v: v3 --- [refs] | 2 +- .../Utilities/bin/cmscond_export_iov.cpp | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 0ae7da866a0fc..bed4b44b83abb 100644 --- a/[refs] +++ b/[refs] @@ -1,3 +1,3 @@ --- refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e -"refs/heads/CMSSW_7_1_X": 493667af37de8b9e0ec846824bc348ee93e075f6 +"refs/heads/CMSSW_7_1_X": c059db79556393cde3a68f177191f908832d4c13 diff --git a/trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp b/trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp index abd1193fe160e..e94f6c93e4fab 100644 --- a/trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp +++ b/trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp @@ -159,12 +159,8 @@ int cond::ExportIOVUtilities::execute(){ cond::UserLogInfo a; a.provenance=sourceConnect+"/"+inputTag; a.usertext="exportIOV V2.0;"; - { - std::ostringstream ss; - ss << "since="<< since <<", till="<< till << ", " << usertext << ";"; - a.usertext +=ss.str(); - } - + if (newIOV) a.usertext+= "new tag;"; + sourcedb.transaction().start(true); { cond::DbScopedTransaction transaction(destdb); @@ -175,9 +171,15 @@ int cond::ExportIOVUtilities::execute(){ bool stored = destdb.importMapping( sourcedb, payloadContainer ); if(debug) std::cout<< "payload mapping " << (stored ? "" : "not ") << "stored"<