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

Function ParseFrac

tidbparser/dependency/types/fsp.go:50–87  ·  view source on GitHub ↗

ParseFrac parses the input string according to fsp, returns the microsecond, and also a bool value to indice overflow. eg: "999" fsp=2 will overflow.

(s string, fsp int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

parseDatetimeFunction · 0.85
ParseDurationFunction · 0.85

Calls 1

CheckFspFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…