mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 22:29:07 +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");
|
NS_ASSERTION(newChildID != 0, "must have an item id");
|
||||||
|
|
||||||
nsCAutoString buffer;
|
nsCAutoString buffer;
|
||||||
buffer.AssignLiteral("UPDATE moz_bookmarks_assoc SET item_child = ");
|
buffer.AssignLiteral("UPDATE moz_bookmarks SET item_child = ");
|
||||||
buffer.AppendInt(newChildID);
|
buffer.AppendInt(newChildID);
|
||||||
buffer.AppendLiteral(" WHERE item_child = ");
|
buffer.AppendLiteral(" WHERE item_child = ");
|
||||||
buffer.AppendInt(childID);
|
buffer.AppendInt(childID);
|
||||||
|
@ -2414,7 +2414,7 @@ nsNavHistory::QueryToSelectClause(nsINavHistoryQuery* aQuery, // const
|
|||||||
if (! aClause->IsEmpty())
|
if (! aClause->IsEmpty())
|
||||||
*aClause += NS_LITERAL_CSTRING(" AND ");
|
*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
|
// domain
|
||||||
|
Loading…
x
Reference in New Issue
Block a user