[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:28 UTC 2011
The following commit has been merged in the debian branch:
commit bfb7833fe6aa6757edcd2ec1b41ff750d28ff3c1
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Sun Jul 19 01:42:26 2009 +0200
opimd: SQLite-Calls: remove too much indexes
diff --git a/framework/subsystems/opimd/pimb_sqlite_calls.py b/framework/subsystems/opimd/pimb_sqlite_calls.py
index efa9774..a7a0732 100644
--- a/framework/subsystems/opimd/pimb_sqlite_calls.py
+++ b/framework/subsystems/opimd/pimb_sqlite_calls.py
@@ -75,15 +75,11 @@ class SQLiteCallBackend(Backend):
cur.execute("CREATE TABLE IF NOT EXISTS call_values (id INTEGER PRIMARY KEY, callId INTEGER, Field TEXT, Value TEXT)")
+ cur.execute("CREATE INDEX IF NOT EXISTS calls_id_idx ON calls (id)")
cur.execute("CREATE INDEX IF NOT EXISTS calls_Direction_idx ON calls (Direction)")
- cur.execute("CREATE INDEX IF NOT EXISTS calls_Type_idx ON calls (Type)")
- cur.execute("CREATE INDEX IF NOT EXISTS calls_Answered_idx ON calls (Answered)")
cur.execute("CREATE INDEX IF NOT EXISTS calls_New_idx ON calls (New)")
- cur.execute("CREATE INDEX IF NOT EXISTS calls_deleted_idx ON calls (deleted)")
cur.execute("CREATE INDEX IF NOT EXISTS call_values_callId_idx ON call_values (callId)")
- cur.execute("CREATE INDEX IF NOT EXISTS call_values_Field_idx ON call_values (Field)")
- cur.execute("CREATE INDEX IF NOT EXISTS call_values_Value_idx ON call_values (Value)")
self.con.text_factory = sqlite3.OptimizedUnicode
self.con.commit()
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list