Skip to content

Commit

Permalink
support binary syntax (#378)
Browse files Browse the repository at this point in the history
Co-authored-by: James Cor <james@dolthub.com>
  • Loading branch information
jycor and James Cor authored Nov 20, 2024
1 parent 5c7b702 commit 5ff664b
Show file tree
Hide file tree
Showing 3 changed files with 6,721 additions and 6,698 deletions.
17 changes: 14 additions & 3 deletions go/vt/sqlparser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1585,13 +1585,24 @@ var (
{
input: "set names utf8 collate foo",
output: "set names 'utf8'",
}, {
},
{
input: "set names utf8 collate 'foo'",
output: "set names 'utf8'",
}, {
},
{
input: "set names binary",
output: "set names 'binary'",
},
{
input: "set names binary collate 'foo'",
output: "set names 'binary'",
},
{
input: "set character set utf8",
output: "set charset 'utf8'",
}, {
},
{
input: "set character set 'utf8'",
output: "set charset 'utf8'",
}, {
Expand Down
Loading

0 comments on commit 5ff664b

Please sign in to comment.