Skip to content

Commit

Permalink
Update expression/builtin_info.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Zhang Jian <[email protected]>
  • Loading branch information
crazycs520 and zz-jason authored Sep 21, 2019
1 parent bc55f0e commit 9b0fad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/builtin_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ func decodeKey(ctx sessionctx.Context, s string) string {
if err == nil {
key = bs
}
// Try decode as table record key.
// Try to decode it as a record key.
tableID, handle, err := tablecodec.DecodeRecordKey(key)
if err == nil {
return "tableID=" + strconv.FormatInt(tableID, 10) + ", handle=" + strconv.FormatInt(handle, 10)
Expand Down

0 comments on commit 9b0fad8

Please sign in to comment.