Skip to content

Commit

Permalink
chore(pkg/api): render varchar as quoted string
Browse files Browse the repository at this point in the history
Signed-off-by: Jeronimo Irazabal <[email protected]>
  • Loading branch information
jeroiraz committed May 7, 2021
1 parent 56946fd commit 0d3d91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/schema/row_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func RenderValue(op isSQLValue_Value) string {
}
case *SQLValue_S:
{
return v.S
return fmt.Sprintf("\"%s\"", v.S)
}
case *SQLValue_B:
{
Expand Down

0 comments on commit 0d3d91e

Please sign in to comment.