Commit bddeccce authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

SqliteTools: Fix exception message

parent b047bcac
......@@ -123,7 +123,7 @@ public:
int res = sqlite3_prepare_v2( dbConnection, req.c_str(), -1, &stmt, NULL );
if ( res != SQLITE_OK )
{
throw std::runtime_error( std::string( "Failed to execute request: " ) + req + " " +
throw std::runtime_error( std::string( "Failed to compile request: " ) + req + " " +
sqlite3_errmsg( dbConnection ) );
}
m_stmt.reset( stmt );
......
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