Skip to content

Commit

Permalink
tech proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincenzo Innocente committed Nov 10, 2009
1 parent aa4ee2c commit 9379c77
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions CondCore/Utilities/src/Utilities.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 9379c77

Please sign in to comment.