diff --git a/internal/sqlparser/parser.go b/internal/sqlparser/parser.go index adbece962..c1a0d0d50 100644 --- a/internal/sqlparser/parser.go +++ b/internal/sqlparser/parser.go @@ -337,7 +337,7 @@ func extractAnnotation(line string) (annotation, error) { a := annotation(cmd) for s := range supportedAnnotations { - if strings.ToUpper(string(s)) == strings.ToUpper(string(a)) { + if strings.EqualFold(string(s), string(a)) { return s, nil } }