logic: Fixed crashes and halting during indexing
* Fixed CPPSqliteException being thrown due to not properly destructed statement in addError * Fixed indexer getting stuck after building caches because MessageFinishedParsing was interrupted * removed Message::cancel() method and all related code bug id = 105
This commit is contained in:
@@ -223,6 +223,8 @@ Id SqliteStorage::addError(const std::string& message, bool fatal, const std::st
|
||||
return q.getIntField(0, -1);
|
||||
}
|
||||
|
||||
stmt.finalize();
|
||||
|
||||
stmt = m_database.compileStatement((
|
||||
"INSERT INTO error(message, fatal, file_path, line_number, column_number) "
|
||||
"VALUES (?, " + std::to_string(fatal) + ", '" + filePath +
|
||||
|
||||
Reference in New Issue
Block a user