mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +00:00
moz_bookmarks table renaming missed a couple spots
This commit is contained in:
parent
b0fc96733f
commit
1d2880be5d
@ -574,7 +574,7 @@ nsNavBookmarks::ReplaceItem(PRInt64 aFolder, nsIURI *aItem, nsIURI *aNewItem)
|
||||
NS_ASSERTION(newChildID != 0, "must have an item id");
|
||||
|
||||
nsCAutoString buffer;
|
||||
buffer.AssignLiteral("UPDATE moz_bookmarks_assoc SET item_child = ");
|
||||
buffer.AssignLiteral("UPDATE moz_bookmarks SET item_child = ");
|
||||
buffer.AppendInt(newChildID);
|
||||
buffer.AppendLiteral(" WHERE item_child = ");
|
||||
buffer.AppendInt(childID);
|
||||
|
@ -2414,7 +2414,7 @@ nsNavHistory::QueryToSelectClause(nsINavHistoryQuery* aQuery, // const
|
||||
if (! aClause->IsEmpty())
|
||||
*aClause += NS_LITERAL_CSTRING(" AND ");
|
||||
|
||||
*aClause += NS_LITERAL_CSTRING("EXISTS (SELECT b.item_child FROM moz_bookmarks_assoc b WHERE b.item_child = id)");
|
||||
*aClause += NS_LITERAL_CSTRING("EXISTS (SELECT b.item_child FROM moz_bookmarks b WHERE b.item_child = id)");
|
||||
}
|
||||
|
||||
// domain
|
||||
|
Loading…
x
Reference in New Issue
Block a user