Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit 61ccbc3

Browse files
authored
Merge pull request #604 from erizocosmico/fix/kill-no-result
server: return empty results when query is KILL
2 parents 5a90754 + ed2fd4c commit 61ccbc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (h *Handler) ComQuery(
8383
}
8484

8585
if handled {
86-
return nil
86+
return callback(&sqltypes.Result{})
8787
}
8888

8989
start := time.Now()

0 commit comments

Comments
 (0)