зеркало из https://github.com/mozilla/pjs.git
Bug 328532 r=bryner Normalize annotation names in a separate table, migration
code from alpha1. Original committer: brettw%gmail.com Original revision: 1.93 Original date: 2006/04/07 19:50:33
This commit is contained in:
Родитель
f74373a20b
Коммит
4edccea15f
|
@ -3121,7 +3121,7 @@ nsNavHistory::QueryToSelectClause(nsNavHistoryQuery* aQuery, // const
|
|||
|
||||
if (aQuery->AnnotationIsNot())
|
||||
aClause->AppendLiteral("NOT ");
|
||||
aClause->AppendLiteral("EXISTS (SELECT anno_id FROM moz_anno anno WHERE anno.page = h.id AND anno.name = ");
|
||||
aClause->AppendLiteral("EXISTS (SELECT anno_id FROM moz_anno anno JOIN moz_anno_name annoname ON anno.name_id = annoname.name_id WHERE anno.page = h.id AND annoname.name = ");
|
||||
aClause->Append(paramString);
|
||||
aClause->AppendLiteral(") ");
|
||||
// annotation-based queries don't get the common conditions, so you get
|
||||
|
|
Загрузка…
Ссылка в новой задаче