Closed Bug 776411 Opened 12 years ago Closed 12 years ago

Migrated addons.sqlite not updated due to schema changes

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 760892 removed a column from the addon table, now databases upgraded from the previous schema are not updated because the insert query has a different number of columns. We need to specify the columns in the query.
Attached patch fix (obsolete) — Splinter Review
Attachment #644801 - Flags: review?(bmcbride)
Comment on attachment 644801 [details] [diff] [review]
fix

Review of attachment 644801 [details] [diff] [review]:
-----------------------------------------------------------------

Hmm, should really be doing this with all INSERT statements for addons.sqlite... otherwise we'll just forget this again.
Attachment #644801 - Flags: review?(bmcbride) → review-
Attached patch fixSplinter Review
Fix ALL the things!
Attachment #644801 - Attachment is obsolete: true
Attachment #644815 - Flags: review?(bmcbride)
Attachment #644815 - Flags: review?(bmcbride) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/9302468f64fa
Flags: in-testsuite-
Flags: in-moztrap-
Flags: in-litmus-
https://hg.mozilla.org/mozilla-central/rev/9302468f64fa
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: