Closed
Bug 785146
Opened 12 years ago
Closed 11 years ago
mozprofile should set the version for permissions.sqlite
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Assigned: mihneadb)
References
Details
Attachments
(1 file, 1 obsolete file)
2.68 KB,
patch
|
k0scist
:
review+
|
Details | Diff | Splinter Review |
We currently don't give a schema version to the permissions.sqlite db : https://github.com/mozilla/mozbase/blob/master/mozprofile/mozprofile/permissions.py#L231 We should: https://bugzilla.mozilla.org/show_bug.cgi?id=784875 ABICT, this should be version 3: https://bugzilla.mozilla.org/show_bug.cgi?id=784875#c1
Assignee | ||
Comment 1•11 years ago
|
||
Not sure if there's a better way.
Attachment #709129 -
Flags: feedback?(jhammel)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mihneadb
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 709129 [details] [diff] [review] add schema version I ain't a SQLite expert but I would assume this is sufficient. Bonus points for writing a test that fails without this patch and passes with.
Attachment #709129 -
Flags: feedback?(jhammel) → feedback+
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #709129 -
Attachment is obsolete: true
Attachment #709149 -
Flags: review?(jhammel)
Reporter | ||
Comment 4•11 years ago
|
||
And, sure enough, fails without the code change, passes with :) Awesome job, mihnea!
Reporter | ||
Updated•11 years ago
|
Attachment #709149 -
Flags: review?(jhammel) → review+
Reporter | ||
Comment 5•11 years ago
|
||
pushed: https://github.com/mozilla/mozbase/commit/d9e769d5bcdf5420e92fdf3b43f766e9c9a13520 ...and another bug bites the dust
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Jeff Hammel [:jhammel] from comment #4) > And, sure enough, fails without the code change, passes with :) Awesome > job, mihnea! Yes, I checked. Thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•