Skip to content

Commit

Permalink
sql: fix comment in type_check.go
Browse files Browse the repository at this point in the history
This commit fixes a comment that has been outdated since cockroachdb#100704.

Release note: None
  • Loading branch information
mgartner committed May 31, 2023
1 parent dbe4b65 commit 981ff8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/sql/sem/tree/type_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -2347,8 +2347,6 @@ func typeCheckComparisonOp(
// a::TEXT @@ b::TEXT | to_tsvector(a) @@ plainto_tsquery(b)
// a::TEXT @@ b::TSQUERY | to_tsvector(a) @@ b
// a::TSQUERY @@ b::TEXT | a @@ to_tsvector(b)
// a::TSVECTOR @@ b::TEXT | a @@ b::TSQUERY
// a::TEXT @@ b::TSVECTOR | a::TSQUERY @@ b
if leftFamily == types.StringFamily {
if rightFamily == types.StringFamily || rightFamily == types.TSQueryFamily {
leftExprs := make(Exprs, 1)
Expand Down

0 comments on commit 981ff8f

Please sign in to comment.