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

Function getValidFloatPrefix

tidbparser/dependency/types/convert.go:380–424  ·  view source on GitHub ↗

getValidFloatPrefix gets prefix of string which can be successfully parsed as float.

(sc *stmtctx.StatementContext, s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getValidIntPrefixFunction · 0.85
StrToFloatFunction · 0.85

Calls 1

handleTruncateErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…