From 22afe4796692ef01ad558b73ba20526cf9247452 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 21 Jul 2016 07:46:55 -0400 Subject: [PATCH] DB-API: remove duplicate indexing calls --- gramps/plugins/db/dbapi/dbapi.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gramps/plugins/db/dbapi/dbapi.py b/gramps/plugins/db/dbapi/dbapi.py index d2ee4cc1a..0a338f58f 100644 --- a/gramps/plugins/db/dbapi/dbapi.py +++ b/gramps/plugins/db/dbapi/dbapi.py @@ -334,13 +334,6 @@ class DBAPI(DbGeneric): source_handle ON source(handle); """) - self.dbapi.try_execute("""CREATE INDEX - place_order_by ON place(order_by); - """) - self.dbapi.try_execute("""CREATE INDEX - tag_order_by ON tag(order_by); - """) - self.dbapi.try_execute("""CREATE INDEX family_gramps_id ON family(gramps_id); """) @@ -357,9 +350,6 @@ class DBAPI(DbGeneric): self.dbapi.try_execute("""CREATE INDEX reference_obj_handle ON reference(obj_handle); """) - self.dbapi.try_execute("""CREATE INDEX - person_surname ON person(surname); - """) self.rebuild_secondary_fields() def close_backend(self):