moz_bookmarks table renaming missed a couple spots

This commit is contained in:
bryner%brianryner.com 2005-12-10 04:58:53 +00:00
parent b0fc96733f
commit 1d2880be5d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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