When an attribute is known-fulltext, don't hit AllDatoms. (#576) r=nalexander
This commit is contained in:
parent
36d455150d
commit
d46535a7c2
1 changed files with 2 additions and 2 deletions
|
@ -742,10 +742,10 @@ impl ConjoiningClauses {
|
||||||
|
|
||||||
// TODO: an existing non-string binding can cause this pattern to fail.
|
// TODO: an existing non-string binding can cause this pattern to fail.
|
||||||
&EvolvedValuePlace::Variable(_) =>
|
&EvolvedValuePlace::Variable(_) =>
|
||||||
Ok(DatomsTable::AllDatoms),
|
Ok(DatomsTable::FulltextDatoms),
|
||||||
|
|
||||||
&EvolvedValuePlace::Value(TypedValue::String(_)) =>
|
&EvolvedValuePlace::Value(TypedValue::String(_)) =>
|
||||||
Ok(DatomsTable::AllDatoms),
|
Ok(DatomsTable::FulltextDatoms),
|
||||||
|
|
||||||
_ => {
|
_ => {
|
||||||
// We can't succeed if there's a non-string constant value for a fulltext
|
// We can't succeed if there's a non-string constant value for a fulltext
|
||||||
|
|
Loading…
Reference in a new issue