From 16a49380bdcac3cb59c7e076727acd2c671627d4 Mon Sep 17 00:00:00 2001 From: Vincenzo Innocente Date: Tue, 10 Nov 2009 10:52:52 +0000 Subject: [PATCH] --- yaml --- r: 77499 b: "refs/heads/CMSSW_7_1_X" c: 9379c772c3c33d7a347ba96bc8643e201f218060 h: "refs/heads/CMSSW_7_1_X" i: 77497: 1b649ce92dc9f70325c0dbcd5e8319b8e92c978d 77495: a3077263ccc12ce6f61f831d113f6da70363cfe7 v: v3 --- [refs] | 2 +- trunk/CondCore/Utilities/src/Utilities.cc | 21 ++++++++------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/[refs] b/[refs] index c0fcce1ee8332..dd9409185cf41 100644 --- a/[refs] +++ b/[refs] @@ -1,3 +1,3 @@ --- refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e -"refs/heads/CMSSW_7_1_X": aa4ee2ccbe87b7bbcc666a58cd39b477b19b439e +"refs/heads/CMSSW_7_1_X": 9379c772c3c33d7a347ba96bc8643e201f218060 diff --git a/trunk/CondCore/Utilities/src/Utilities.cc b/trunk/CondCore/Utilities/src/Utilities.cc index e7ee8af5379fd..e090d7b46cc85 100644 --- a/trunk/CondCore/Utilities/src/Utilities.cc +++ b/trunk/CondCore/Utilities/src/Utilities.cc @@ -30,14 +30,14 @@ cond::UtilitiesError::~UtilitiesError() throw(){} cond::Utilities::Utilities( const std::string& commandName, std::string positionalParameter):m_name(commandName), - m_options(std::string("Usage: ")+m_name+ - std::string(" [options] ")+positionalParameter - +std::string(" \n")), - m_positionalOptions(), - m_values(), - m_dbConnection(0), - m_pluginMgrInitialized(false), - m_dbSessions(){ + m_options(std::string("Usage: ")+m_name+ + std::string(" [options] ")+positionalParameter + +std::string(" \n")), + m_positionalOptions(), + m_values(), + m_dbConnection(0), + m_pluginMgrInitialized(false), + m_dbSessions(){ m_options.add_options() ("debug","switch on debug mode") ("help,h", "help message") @@ -258,11 +258,6 @@ cond::DbSession cond::Utilities::openDbSession( const std::string& connectionPar } } session.setBlobStreamingService( blobStreamingService ); - if( connectionString.find("sqlite_fip:") != std::string::npos ){ - cond::FipProtocolParser p; - connectionString=p.getRealConnect(connectionString); - } - session.open( connectionString ); return session; }