check for True or False Query Resolution unconditionally
This commit is contained in:
@@ -156,10 +156,11 @@ impl Machine {
|
|||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if term_write_result.var_dict.is_empty() {
|
|
||||||
if self.machine_st.p == LIB_QUERY_SUCCESS {
|
if self.machine_st.p == LIB_QUERY_SUCCESS {
|
||||||
|
if term_write_result.var_dict.is_empty() {
|
||||||
matches.push(QueryResolutionLine::True);
|
matches.push(QueryResolutionLine::True);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
} else if self.machine_st.p == BREAK_FROM_DISPATCH_LOOP_LOC {
|
} else if self.machine_st.p == BREAK_FROM_DISPATCH_LOOP_LOC {
|
||||||
// NOTE: only print results on success
|
// NOTE: only print results on success
|
||||||
// self.machine_st.fail = false;
|
// self.machine_st.fail = false;
|
||||||
@@ -167,7 +168,6 @@ impl Machine {
|
|||||||
matches.push(QueryResolutionLine::False);
|
matches.push(QueryResolutionLine::False);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
let mut bindings: BTreeMap<String, Value> = BTreeMap::new();
|
let mut bindings: BTreeMap<String, Value> = BTreeMap::new();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user