Skip to content

Commit

Permalink
added a test verifying that we preserve the unsigned value
Browse files Browse the repository at this point in the history
Signed-off-by: GuptaManan100 <manan@planetscale.com>
  • Loading branch information
GuptaManan100 committed May 27, 2021
1 parent c90a03d commit b7a7a83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/vt/sqlparser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,8 @@ var (
}, {
input: "alter table t add column iii int signed not null",
output: "alter table t add column iii int not null",
}, {
input: "alter table t add column iii int unsigned not null",
}, {
input: "alter table a add constraint b unique c (id)",
output: "alter table a add constraint b unique key c (id)",
Expand Down

0 comments on commit b7a7a83

Please sign in to comment.