From c8998cc81c823c84ce480e00f6b6a968e0cd0ee6 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 8 Dec 2016 22:13:40 +0000 Subject: [PATCH] Rename rebuild_secondary_fields to _create_secondary_columns --- gramps/plugins/db/dbapi/dbapi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/db/dbapi/dbapi.py b/gramps/plugins/db/dbapi/dbapi.py index 5d55c5faf..e1a3fe903 100644 --- a/gramps/plugins/db/dbapi/dbapi.py +++ b/gramps/plugins/db/dbapi/dbapi.py @@ -230,7 +230,7 @@ class DBAPI(DbGeneric): 'unknown INTEGER' ')') - self.rebuild_secondary_fields() + self._create_secondary_columns() ## Indices: self.dbapi.execute('CREATE INDEX person_gramps_id ' @@ -822,7 +822,7 @@ class DBAPI(DbGeneric): Rebuild secondary indices """ # First, expand blob to individual fields: - self.rebuild_secondary_fields() + self.update_secondary_values() # Next, rebuild stats: gstats = self.get_gender_stats() self.genderStats = GenderStats(gstats) @@ -916,7 +916,7 @@ class DBAPI(DbGeneric): else: return "BLOB" - def rebuild_secondary_fields(self): + def _create_secondary_columns(self): """ Add secondary fields, update, and create indexes. """