liferea, built with xulrunner 1.9 is dumping tons of places.sqlite-\d+.corrupt files. Even with a fresh profile, all those ".corrupt" files appear at startup.
This is 100% reproducible. A dump shows they are not corrupted at all.
It's a regression introduced when bug 415460 landed, between b3 and b4, and it's still there in 1.9pre.
Those ".corrupt" files are created when InitDB() fails.
I've traced it down to mDBGetTags:
liferea, built with xulrunner 1.9 is dumping tons of places. sqlite- \d+.corrupt files. Even with a fresh profile, all those ".corrupt" files appear at startup.
This is 100% reproducible. A dump shows they are not corrupted at all.
It's a regression introduced when bug 415460 landed, between b3 and b4, and it's still there in 1.9pre.
Those ".corrupt" files are created when InitDB() fails.
I've traced it down to mDBGetTags:
http:// mxr.mozilla. org/mozilla/ source/ toolkit/ components/ places/ src/nsNavHistor y.cpp#1140
1140 // mDBGetTags >CreateStatemen t(NS_LITERAL_ CSTRING( t.title, ' ') " ("%d", nsINavBookmarks Service: :TYPE_BOOKMARK) + CSTRING( " AND b.fk = h.id " AddRefs( mDBGetTags) ); SUCCESS( rv, rv);
1141 rv = mDBConn-
1142 "SELECT GROUP_CONCAT(
1143 "FROM moz_places h "
1144 "JOIN moz_bookmarks b ON b.type = ") +
1145 nsPrintfCString
1146 NS_LITERAL_
1147 "JOIN moz_bookmarks t ON t.parent = ?1 AND t.id = b.parent "
1148 "WHERE h.url = ?2"),
1149 getter_
1150 NS_ENSURE_