Closed Bug 462213 Opened 17 years ago Closed 17 years ago

make migrateV8 tolerant to downgrade-upgrade paths

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.1b2

People

(Reporter: mak, Assigned: mak)

References

Details

Attachments

(1 file)

migrateV8 does not check if triggers exists before deleting them, so if you upgrade/downgrade you could be without triggers with a migration path that requires them. adding an IF EXISTS will make the query safe to execute
Blocks: 462214
actual migration path that makes this visible is: 3.1 fsync => 3.1 no-fync => 3.1 fsync
Attached patch patchSplinter Review
Attachment #345355 - Flags: review?(sdwilsh)
Comment on attachment 345355 [details] [diff] [review] patch r=sdwilsh
Attachment #345355 - Flags: review?(sdwilsh) → review+
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1b2
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: