From 1e0d17935bbe095b4953ee13f811684c4d720425 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 23 Apr 2018 18:15:18 -0700 Subject: [PATCH] modules/console: Supply index for event erase write operation. --- modules/console.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/console.cc b/modules/console.cc index 73ccd1831..c642c1ab0 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -1889,6 +1889,7 @@ console_cmd__event__erase(opt &out, const string_view &line) m::dbs::write_opts opts; opts.op = db::op::DELETE; + opts.idx = m::event::fetch::index(event); m::dbs::write(txn, event, opts); txn();