MCPcopy Index your code
hub / github.com/bytebase/bytebase / offsetOracleParseError

Function offsetOracleParseError

backend/plugin/parser/plsql/omni.go:62–70  ·  view source on GitHub ↗
(err error, offset int)

Source from the content-addressed store, hash-verified

60}
61
62func offsetOracleParseError(err error, offset int) error {
63 var parseErr *oracleparser.ParseError
64 if !errors.As(err, &parseErr) {
65 return err
66 }
67 adjusted := *parseErr
68 adjusted.Position += offset
69 return &adjusted
70}
71
72type omniLocOffsetter int
73

Callers 1

ParsePLSQLOmniFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected