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

Added 'immediately after m_stmt.executeQuery()' log message to facilitate...

Added 'immediately after m_stmt.executeQuery()' log message to facilitate debugging of 'cta-admin tapefile ls'
parent 9dedd0ca
Branches
Tags
No related merge requests found
......@@ -21,6 +21,7 @@
#include "common/exception/Exception.hpp"
#include "common/exception/LostDatabaseConnection.hpp"
#include "common/exception/UserError.hpp"
#include "common/log/LogContext.hpp"
namespace cta {
namespace catalogue {
......@@ -219,6 +220,11 @@ RdbmsCatalogueGetArchiveFilesItor::RdbmsCatalogueGetArchiveFilesItor(
}
m_rset = m_stmt.executeQuery();
{
log::LogContext lc(m_log);
lc.log(log::INFO, "RdbmsCatalogueGetArchiveFilesItor - immediately after m_stmt.executeQuery()");
}
m_rsetIsEmpty = !m_rset.next();
} catch(exception::UserError &) {
throw;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment