* src/gen/db/dbdir.py: rebuild ref map correctly, bug #1421
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org> svn: r9466
This commit is contained in:
parent
9f04eaad48
commit
c4bf352d49
@ -1,3 +1,6 @@
|
|||||||
|
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
|
* src/gen/db/dbdir.py: rebuild ref map correctly, bug #1421
|
||||||
|
|
||||||
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
|
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
Add support for name grouping import/export
|
Add support for name grouping import/export
|
||||||
* src/GrampsDb/_GrampsDbWriteXML.py: write group table out
|
* src/GrampsDb/_GrampsDbWriteXML.py: write group table out
|
||||||
|
@ -1047,7 +1047,6 @@ class GrampsDBDir(GrampsDbBase, UpdateCallback):
|
|||||||
"""
|
"""
|
||||||
Reindex all primary records in the database.
|
Reindex all primary records in the database.
|
||||||
This will be a slow process for large databases.
|
This will be a slow process for large databases.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# First, remove the reference map and related tables
|
# First, remove the reference map and related tables
|
||||||
@ -1067,8 +1066,8 @@ class GrampsDBDir(GrampsDbBase, UpdateCallback):
|
|||||||
callback(3)
|
callback(3)
|
||||||
|
|
||||||
# Open reference_map and primapry map
|
# Open reference_map and primapry map
|
||||||
self.reference_map = self.__open_table(
|
self.reference_map = self.__open_table(self.full_name, REF_MAP,
|
||||||
_mkname(self.full_name, REF_MAP), REF_MAP, dbtype=db.DB_BTREE)
|
dbtype=db.DB_BTREE)
|
||||||
|
|
||||||
open_flags = self.__open_flags()
|
open_flags = self.__open_flags()
|
||||||
self.reference_map_primary_map = db.DB(self.env)
|
self.reference_map_primary_map = db.DB(self.env)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user