Commit 77e781a8 authored by Marek Vavruša's avatar Marek Vavruša

lib/cache: count clear()s as deletes

parent ff45a991
......@@ -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);
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