Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Fix soundex type #560

Merged
merged 2 commits into from
Nov 28, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sql/expression/function/soundex.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@ func (s *Soundex) TransformUp(f sql.TransformExprFunc) (sql.Expression, error) {

// Type implements the Expression interface.
func (s *Soundex) Type() sql.Type {
return s.Child.Type()
return sql.Text
}