Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77499
b: "refs/heads/CMSSW_7_1_X"
c: 9379c77
h: "refs/heads/CMSSW_7_1_X"
i:
  77497: 1b649ce
  77495: a307726
v: v3
  • Loading branch information
Vincenzo Innocente committed Nov 10, 2009
1 parent cd1452f commit 16a4938
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": aa4ee2ccbe87b7bbcc666a58cd39b477b19b439e
"refs/heads/CMSSW_7_1_X": 9379c772c3c33d7a347ba96bc8643e201f218060
21 changes: 8 additions & 13 deletions trunk/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 16a4938

Please sign in to comment.