Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64442
b: "refs/heads/CMSSW_7_1_X"
c: 6d658e1
h: "refs/heads/CMSSW_7_1_X"
v: v3
  • Loading branch information
Vincenzo Innocente committed Apr 7, 2009
1 parent b3f0f0b commit ca28d3f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 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: 82f76fd1a3f5d9423d7c163d852a0c36647fc4ea
"refs/heads/CMSSW_7_1_X": 27793763ca362b28a76dad7e07062c0dfa74feae
"refs/heads/CMSSW_7_1_X": 6d658e118c0fff16af2fe1868e383adb1a2c0527
12 changes: 10 additions & 2 deletions trunk/CondCore/IOVService/test/testIOVIterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,16 @@ int main(){
iov.setRange(45,47);
std::for_each(iov.begin(),iov.end(),boost::bind(&print,_1));
}
myconnection.disconnect();
delete session;
{
// test "copy shallow"
cond::IOVProxy iov(pooldb,iovtok, true, false);
myconnection.disconnect();
delete session;
std::cout << "size " << iov.size()
<<", Time Type " << iov.timetype() << std::endl;
iov.head(2);
std::for_each(iov.begin(),iov.end(),boost::bind(&print,_1));
}
}catch(const cond::Exception& er){
std::cout<<"error "<<er.what()<<std::endl;
}catch(const std::exception& er){
Expand Down

0 comments on commit ca28d3f

Please sign in to comment.