Skip to content

Commit

Permalink
make check-static happy
Browse files Browse the repository at this point in the history
Signed-off-by: ailinkid <[email protected]>
  • Loading branch information
AilinKid committed Nov 22, 2021
1 parent b6dc47d commit ba6ce57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func getTimeCurrentTimeStamp(ctx sessionctx.Context, tp byte, fsp int8) (t types

// GetTimeValue gets the time value with type tp.
func GetTimeValue(ctx sessionctx.Context, v interface{}, tp byte, fsp int8) (d types.Datum, err error) {
value := types.NewTime(types.ZeroCoreTime, tp, fsp)
var value types.Time

sc := ctx.GetSessionVars().StmtCtx
switch x := v.(type) {
Expand Down

0 comments on commit ba6ce57

Please sign in to comment.