data: Added sql index for local symbol names to speed up analysis

This commit is contained in:
Eberhard Graether
2016-04-21 11:00:08 +02:00
parent 40144bbcb9
commit 36d17123f3
+4
View File
@@ -805,6 +805,10 @@ void SqliteStorage::setupTables()
"FOREIGN KEY(id) REFERENCES element(id) ON DELETE CASCADE);"
);
m_database.execDML(
"CREATE INDEX IF NOT EXISTS local_symbol_name_index ON local_symbol(name);"
);
m_database.execDML(
"CREATE TABLE IF NOT EXISTS source_location("
"id INTEGER NOT NULL, "