MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / ParseTimeFromNum

Function ParseTimeFromNum

tidbparser/dependency/types/time.go:1242–1259  ·  view source on GitHub ↗

ParseTimeFromNum parses a formatted int64, returns the value which type is tp.

(sc *stmtctx.StatementContext, num int64, tp byte, fsp int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

convertToMysqlTimeMethod · 0.85
ParseDatetimeFromNumFunction · 0.85
ParseTimestampFromNumFunction · 0.85
ParseDateFromNumFunction · 0.85

Calls 3

CheckFspFunction · 0.85
parseDateTimeFromNumFunction · 0.85
checkMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…