Skip to content
Snippets Groups Projects
Commit 7c56d3a2 authored by Steven Murray's avatar Steven Murray
Browse files

Put back missing autoRollback onject within SqliteCatalogue::filesWrittenToTape()

parent e3853a79
No related branches found
No related tags found
No related merge requests found
......@@ -241,6 +241,7 @@ void SqliteCatalogue::filesWrittenToTape(const std::set<TapeFileWritten> &events
// Oracle SELECT FOR UPDATE
std::lock_guard<std::mutex> m_lock(m_mutex);
auto conn = m_connPool.getConn();
rdbms::AutoRollback autoRollback(conn);
const auto tape = selectTape(rdbms::Stmt::AutocommitMode::OFF, conn, firstEvent.vid);
uint64_t expectedFSeq = tape.lastFSeq + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment