Skip to content

Commit 9572a0d

Browse files
author
James Cor
committed
remove debug
1 parent a5265e9 commit 9572a0d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

processlist.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,7 @@ func (pl *ProcessList) BeginQuery(
135135
p.Query = query
136136
p.QueryPid = pid
137137
p.StartedAt = time.Now()
138-
p.Kill = func() {
139-
print("KILL QUERY!!!\n")
140-
cancel()
141-
}
138+
p.Kill = cancel
142139
p.Progress = make(map[string]sql.TableProgress)
143140

144141
pl.byQueryPid[ctx.Pid()] = ctx.Session.ID()

0 commit comments

Comments
 (0)