Merge lp:~seb128/software-center/invalid_db_open into lp:software-center
Proposed by
Sebastien Bacher
on 2015-10-01
| Status: | Merged |
|---|---|
| Approved by: | dobey on 2015-12-18 |
| 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 | 2015-10-01 | Approve on 2015-12-18 | |
| Michael Vogt | 2015-10-01 | Approve on 2015-10-05 | |
|
Review via email:
|
|||
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.
review:
Approve


Thanks