Skip to content
Snippets Groups Projects
Commit 77e781a8 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

lib/cache: count clear()s as deletes

parent ff45a991
Branches
Tags
No related merge requests found
......@@ -292,6 +292,7 @@ int kr_cache_clear(struct kr_cache_txn *txn)
return kr_error(EINVAL);
}
txn->owner->stats.delete += 1;
return txn_api(txn)->clear(&txn->t);
}
......
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