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

Function getValidIntPrefix

tidbparser/dependency/types/convert.go:234–240  ·  view source on GitHub ↗

getValidIntPrefix gets prefix of the string which can be successfully parsed as int.

(sc *stmtctx.StatementContext, str string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

StrToIntFunction · 0.85
StrToUintFunction · 0.85

Calls 2

getValidFloatPrefixFunction · 0.85
floatStrToIntStrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…