[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819
Sebastian Krzyszkowiak
seba.dos1 at gmail.com
Sat Aug 6 08:17:18 UTC 2011
The following commit has been merged in the debian branch:
commit cab239ae7c6f84555ea655dbe9b5a3e792d53153
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Thu Jul 9 22:30:03 2009 +0200
opimd: SQLite-Calls: add index on Direction field
diff --git a/framework/subsystems/opimd/pimb_sqlite_calls.py b/framework/subsystems/opimd/pimb_sqlite_calls.py
index 540ae2f..4bccd01 100644
--- a/framework/subsystems/opimd/pimb_sqlite_calls.py
+++ b/framework/subsystems/opimd/pimb_sqlite_calls.py
@@ -75,6 +75,9 @@ class SQLiteCallBackend(Backend):
deleted INTEGER DEFAULT 0);""")
cur.execute("CREATE TABLE IF NOT EXISTS call_values (id INTEGER PRIMARY KEY, callId INTEGER, Field TEXT, Value TEXT)")
+
+ cur.execute("CREATE INDEX calls_Direction_idx ON calls (Direction)") # TODO: make more indexes, also in others SQLite backends
+
self.con.text_factory = sqlite3.OptimizedUnicode
self.con.commit()
cur.close()
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list