MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / execAndReset

Function execAndReset

src/openms/source/FORMAT/OMSFileStore.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 bool execAndReset(SQLite::Statement& query, int expected_modifications)
39 {
40 auto ret = query.exec();
41 query.reset();
42 return ret == expected_modifications;
43 }
44
45 void execWithExceptionAndReset(SQLite::Statement& query, int expected_modifications, int line, const char* function, const char* context)
46 {

Callers 2

storeCVTerm_Method · 0.85

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected