Merge lp:~seb128/software-center/invalid_db_open into lp:software-center
Proposed by
Sebastien Bacher
Status: | Merged |
---|---|
Approved by: | dobey |
Approved revision: | 3325 |
Merged at revision: | 3332 |
Proposed branch: | lp:~seb128/software-center/invalid_db_open |
Merge into: | lp:software-center |
Diff against target: |
15 lines (+2/-2) 1 file modified
softwarecenter/backend/reviews/__init__.py (+2/-2) |
To merge this branch: | bzr merge lp:~seb128/software-center/invalid_db_open |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey | Approve | ||
Michael Vogt | Approve | ||
Review via email: mp+273113@code.launchpad.net |
Commit message
DB_NOMMAP needs to be set using set_flags, it's not valid in DBEnv.open
Description of the change
DB_NOMMAP needs to be set using set_flags, it's not valid in DBEnv.open
Note that the original commit was to fix performances problems. I suspect that the improvement had more to do with the fact that the db write was basically commented by the invalid use which makes the function hit an except before doing the work than by the flag use so the fix might create performances issues...
To post a comment you must log in.
Thanks