Skip to content

Commit

Permalink
Fix incorrect "Internal" display in admin show slow output (#10338)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjanpatidar authored and ngaut committed May 5, 2019
1 parent 62d37a8 commit 0b037aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -617,9 +617,9 @@ func (e *ShowSlowExec) Next(ctx context.Context, req *chunk.RecordBatch) error {
req.AppendString(9, slow.TableIDs)
req.AppendString(10, slow.IndexIDs)
if slow.Internal {
req.AppendInt64(11, 0)
} else {
req.AppendInt64(11, 1)
} else {
req.AppendInt64(11, 0)
}
req.AppendString(12, slow.Digest)
e.cursor++
Expand Down

0 comments on commit 0b037aa

Please sign in to comment.