3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-02-17 19:37:47 -10:00
parent 1959b7c48a
commit f810f25d8d
4 changed files with 10 additions and 11 deletions

View file

@ -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) {

View file

@ -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) {