mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 390171 clearing history for a host can delete annotations (r=sspitzer, a=mconnor)
This commit is contained in:
parent
3d8d17906c
commit
fc4cea3261
@ -2746,7 +2746,7 @@ nsNavHistory::RemovePagesFromHost(const nsACString& aHost, PRBool aEntireDomain)
|
||||
// delete annotations (except EXPIRE_NEVER)
|
||||
rv = mDBConn->ExecuteSimpleSQL(NS_LITERAL_CSTRING(
|
||||
"DELETE FROM moz_annos WHERE place_id NOT IN (") +
|
||||
deletedPlaceIdsBookmarked + NS_LITERAL_CSTRING(")"));
|
||||
deletedPlaceIdsWithAnno + NS_LITERAL_CSTRING(")"));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// finally, delete the actual moz_places records that are
|
||||
|
Loading…
Reference in New Issue
Block a user