Closed Bug 977153 Opened 11 years ago Closed 10 years ago

use WITHOUT ROWID in bookmarks roots table

Categories

(Toolkit :: Places, defect)

defect
Not set
normal
Points:
3

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mak, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

would even be better to completely kill the table, but that may be a little bit more complex. ALTER TABLE moz_bookmarks_roots RENAME TO moz_bookmarks_roots_old CREATE TABLE moz_bookmarks_roots ( root_name TEXT PRIMARY KEY, folder_id INTEGER ) WITHOUT ROWID INSERT INTO moz_bookmarks_roots SELECT root_name, folder_id FROM moz_bookmarks_roots_old DROP TABLE moz_bookmarks_roots_old
Blocks: PlacesDiet
No longer blocks: fxdesktopbacklog
Flags: firefox-backlog+
Whiteboard: p=3
Following on from bug 977154
Attachment #8467825 - Flags: feedback?(mak77)
Comment on attachment 8467825 [details] [diff] [review] bug977153_without_rowid_bookmark_roots.diff v1 Review of attachment 8467825 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/components/places/Database.cpp @@ +1999,5 @@ > + rv = mMainConn->CreateStatement(NS_LITERAL_CSTRING( > + "SELECT id FROM moz_bookmarks_roots" > + ), getter_AddRefs(bookmarksRootsStmt)); > + > + if (!NS_FAILED(rv)) { NS_SUCCEEDED
Attachment #8467825 - Flags: feedback?(mak77) → feedback+
Points: --- → 3
Flags: qe-verify?
Whiteboard: p=3
we will remove the table instead.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: