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

Function equalOrLess

backend/plugin/parser/mysql/restore.go:362–370  ·  view source on GitHub ↗
(a, b *storepb.Position)

Source from the content-addressed store, hash-verified

360}
361
362func equalOrLess(a, b *storepb.Position) bool {
363 if a.Line < b.Line {
364 return true
365 }
366 if a.Line == b.Line && a.Column <= b.Column {
367 return true
368 }
369 return false
370}
371
372func equalOrGreater(a, b *storepb.Position) bool {
373 if a.Line > b.Line {

Callers 1

extractStatementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected