data: performance optimization

* added index for node names.
* removed some unused methods of the SqliteStorage.
This commit is contained in:
malte_langkabel
2016-01-08 12:20:27 +01:00
parent 899138a6bd
commit 6d6d67470b
3 changed files with 13 additions and 78 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ void Storage::clearFileElements(const std::vector<FilePath>& filePaths)
if (fileNodeIds.size())
{
m_sqliteStorage.removeElementsWithLocationInFiles(fileNodeIds);
m_sqliteStorage.removeFiles(fileNodeIds);
m_sqliteStorage.removeElements(fileNodeIds);
m_sqliteStorage.removeErrorsInFiles(filePaths);
}