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

CTA now builds on SLC6 again

parent bf69b6db
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ set (CATALOGUE_LIB_SRC_FILES
ColumnNameToIdx.cpp
DbLogin.cpp
DummyCatalogue.cpp
Sqlite.cpp
SqliteCatalogue.cpp
SqliteConn.cpp
SqliteStmt.cpp)
......
......@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "catalogue/Sqlite.hpp"
#include "catalogue/SqliteStmt.hpp"
#include "common/exception/Exception.hpp"
......@@ -99,7 +100,7 @@ int cta::catalogue::SqliteStmt::step() {
// Throw an appropriate exception
exception::Exception ex;
ex.getMessage() << __FUNCTION__ << " failed: " << sqlite3_errstr(stepRc) <<
ex.getMessage() << __FUNCTION__ << " failed: " << Sqlite::rcToStr(stepRc) <<
": For SQL statement " << m_sql;
throw ex;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment