From b6bf75c7b5b842db297ed471cb44ac08b6825569 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 1 Feb 2019 01:26:47 +0000 Subject: [PATCH] Ensure SQL KILL query executes properly --- db/socket.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/socket.go b/db/socket.go index ea3d70e6..a57c9429 100644 --- a/db/socket.go +++ b/db/socket.go @@ -315,11 +315,11 @@ func (s *socket) executeKill(e *executor, ctx context.Context, stm *sql.KillStat switch what := w.(type) { case *sql.Table: - key := &keys.LV{TB: what.TB, LV: qry.ID} + key := &keys.LV{KV: KV, NS: s.ns, DB: s.db, TB: what.TB, LV: qry.ID} _, err = e.dbo.Clr(ctx, key.Encode()) case *sql.Ident: - key := &keys.LV{TB: what.VA, LV: qry.ID} + key := &keys.LV{KV: KV, NS: s.ns, DB: s.db, TB: what.VA, LV: qry.ID} _, err = e.dbo.Clr(ctx, key.Encode()) }