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

Downgraded unnecessary 'select for update' within OracleCatalogue

parent 636eb83f
Branches
Tags
No related merge requests found
......@@ -89,8 +89,7 @@ void OracleCatalogue::deleteArchiveFile(const std::string &diskInstanceName, con
"LEFT OUTER JOIN TAPE_FILE ON "
"ARCHIVE_FILE.ARCHIVE_FILE_ID = TAPE_FILE.ARCHIVE_FILE_ID "
"WHERE "
"ARCHIVE_FILE.ARCHIVE_FILE_ID = :ARCHIVE_FILE_ID "
"FOR UPDATE";
"ARCHIVE_FILE.ARCHIVE_FILE_ID = :ARCHIVE_FILE_ID";
utils::Timer t;
auto conn = m_connPool.getConn();
const auto getConnTime = t.secs(utils::Timer::resetCounter);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment