Commit 72d4c81f authored by Steven Murray's avatar Steven Murray
Browse files

CTA now builds on SLC6 again

parent 1b5c7780
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment