Commit 86167d26 authored by Marek Vavruša's avatar Marek Vavruša

rplan: do not reinit structure on deinit

parent 827964c1
......@@ -87,8 +87,6 @@ void kr_rplan_deinit(struct kr_rplan *rplan)
if (rplan->txn.db != NULL) {
kr_cache_txn_abort(&rplan->txn);
}
kr_rplan_init(rplan, rplan->context, rplan->pool);
}
bool kr_rplan_empty(struct kr_rplan *rplan)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment