7868: Rebuild secondary indexes after database upgrade

This commit is contained in:
Nick Hall 2014-09-26 19:01:49 +01:00
parent bdf38344ff
commit aea848de23

View File

@ -2344,6 +2344,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
self.reset() self.reset()
self.set_total(6) self.set_total(6)
self.__connect_secondary() self.__connect_secondary()
self.rebuild_secondary()
# Open undo database # Open undo database
self.__open_undodb() self.__open_undodb()
self.db_is_open = True self.db_is_open = True