Skip to content

Commit

Permalink
remove unreachable case leftover
Browse files Browse the repository at this point in the history
Signed-off-by: Vilius Okockis <[email protected]>
  • Loading branch information
DeathBorn committed Sep 30, 2024
1 parent 3fac811 commit 80e11f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions go/vt/vtgate/vindexes/vschema.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,6 @@ func ChooseVindexForType(typ querypb.Type) (string, error) {
return "xxhash", nil
case sqltypes.IsText(typ):
return "unicode_loose_xxhash", nil
case sqltypes.IsBinary(typ):
return "binary_md5", nil
}
return "", fmt.Errorf("type %v is not recommended for a vindex", typ)
}
Expand Down

0 comments on commit 80e11f0

Please sign in to comment.