3609: Can't open a gramps 3.1 database from trunk on Windows 7 64 bit from Gramps 3.2
svn: r14984
This commit is contained in:
parent
9302411eb4
commit
a7e06a91aa
@ -224,7 +224,6 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
|||||||
|
|
||||||
def __open_db(self, file_name, table_name, dbtype=db.DB_HASH, flags=0):
|
def __open_db(self, file_name, table_name, dbtype=db.DB_HASH, flags=0):
|
||||||
dbmap = db.DB(self.env)
|
dbmap = db.DB(self.env)
|
||||||
dbmap.set_pagesize(DBPAGE)
|
|
||||||
dbmap.set_flags(flags)
|
dbmap.set_flags(flags)
|
||||||
|
|
||||||
fname = os.path.join(file_name, table_name + DBEXT)
|
fname = os.path.join(file_name, table_name + DBEXT)
|
||||||
@ -237,7 +236,6 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
|||||||
|
|
||||||
def __open_shelf(self, file_name, table_name, dbtype=db.DB_HASH):
|
def __open_shelf(self, file_name, table_name, dbtype=db.DB_HASH):
|
||||||
dbmap = dbshelve.DBShelf(self.env)
|
dbmap = dbshelve.DBShelf(self.env)
|
||||||
dbmap.db.set_pagesize(DBPAGE)
|
|
||||||
|
|
||||||
fname = os.path.join(file_name, table_name + DBEXT)
|
fname = os.path.join(file_name, table_name + DBEXT)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user