implement logical update semantics for dynamic database predicates
This commit is contained in:
@@ -562,6 +562,7 @@ impl MachineState {
|
||||
&Line::Choice(ref choice_instr) => {
|
||||
self.execute_choice_instr(
|
||||
choice_instr,
|
||||
code_repo,
|
||||
&mut policies.call_policy,
|
||||
&mut indices.global_variables,
|
||||
)
|
||||
@@ -585,8 +586,7 @@ impl MachineState {
|
||||
&Line::IndexingCode(ref indexing_lines) => {
|
||||
self.execute_indexing_instr(
|
||||
indexing_lines,
|
||||
&mut policies.call_policy,
|
||||
&mut indices.global_variables,
|
||||
code_repo,
|
||||
)
|
||||
}
|
||||
&Line::IndexedChoice(ref choice_instr) => {
|
||||
@@ -596,6 +596,13 @@ impl MachineState {
|
||||
&mut indices.global_variables,
|
||||
)
|
||||
}
|
||||
&Line::DynamicIndexedChoice(_) => {
|
||||
self.execute_dynamic_indexed_choice_instr(
|
||||
code_repo,
|
||||
&mut policies.call_policy,
|
||||
&mut indices.global_variables,
|
||||
)
|
||||
}
|
||||
&Line::Query(ref query_instr) => {
|
||||
self.execute_query_instr(&query_instr);
|
||||
self.p += 1;
|
||||
|
||||
Reference in New Issue
Block a user