Skip to content

Commit 62f74f5

Browse files
committed
tweaks for new uses
1 parent 849985e commit 62f74f5

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

DbService/inc/DbTool.hh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class DbTool {
6161
int printAdhoc();
6262

6363
std::string getResult() { return _result; }
64+
void clearResult() { _result.clear(); }
6465
int printCIDLine(int cid, int indent = 0);
6566
int printIOVLine(int iov, int details = 0, int indent = 0);
6667
int printGIDLine(int gid, int details = 0, int indent = 0);
@@ -86,6 +87,12 @@ class DbTool {
8687
int commitPatch();
8788
int verifySet();
8889

90+
// when committing several items, sometime the later items depend
91+
// on fnding the earlier items in the cached val structure
92+
// this is a way to refresh the val structure after the earlier commits
93+
// Take caution with local caching of val info..
94+
int refresh();
95+
8996
int testUrl();
9097

9198
private:
@@ -135,12 +142,6 @@ class DbTool {
135142
// extend because it does not zero eset
136143
int extendEiovMap(int gid, eiovMap& eset, int& minrun, int& maxrun);
137144

138-
// when committing several items, sometime the later items depend
139-
// on fnding the earlier items in the cached val structure
140-
// this is a way to refresh the val structure after the earlier commits
141-
// Take caution with local caching of val info..
142-
int refresh();
143-
144145
int _verbose;
145146
bool _pretty;
146147
std::string _database;

0 commit comments

Comments
 (0)