MCPcopy Create free account
hub / github.com/bytebase/bytebase / compareIdentifier

Function compareIdentifier

backend/plugin/schema/tidb/walk_through.go:32–37  ·  view source on GitHub ↗
(a, b string, ignoreCaseSensitive bool)

Source from the content-addressed store, hash-verified

30)
31
32func compareIdentifier(a, b string, ignoreCaseSensitive bool) bool {
33 if ignoreCaseSensitive {
34 return strings.EqualFold(a, b)
35 }
36 return a == b
37}
38
39func init() {
40 schema.RegisterWalkThrough(storepb.Engine_TIDB, WalkThrough)

Callers 1

isCurrentDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected