mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
parent
1959b7c48a
commit
f810f25d8d
4 changed files with 10 additions and 11 deletions
|
@ -690,7 +690,7 @@ namespace datalog {
|
|||
void context::reopen() {
|
||||
SASSERT(m_closed);
|
||||
m_rule_set.reopen();
|
||||
m_closed = false;
|
||||
m_closed = false;
|
||||
}
|
||||
|
||||
void context::transform_rules(rule_transformer::plugin* plugin) {
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace datalog {
|
|||
}
|
||||
|
||||
~scoped_query() {
|
||||
m_ctx.reopen();
|
||||
m_ctx.ensure_opened();
|
||||
m_ctx.restrict_predicates(m_preds);
|
||||
m_ctx.replace_rules(m_rules);
|
||||
if (m_was_closed) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue