Merge pull request #4073 from dolthub/fulghum/enum-case

Update Dolt for type name casing changes in GMS
This commit is contained in:
Jason Fulghum
2022-08-15 19:45:06 -07:00
committed by GitHub
9 changed files with 23 additions and 23 deletions
@@ -282,7 +282,7 @@ var ModifyAndChangeColumnScripts = []queries.ScriptTest{
Assertions: []queries.ScriptTestAssertion{
{
Query: "alter table people modify rating double default 'not a number'",
ExpectedErrStr: "incompatible type for default value: error: 'not a number' is not a valid value for 'DOUBLE'",
ExpectedErrStr: "incompatible type for default value: error: 'not a number' is not a valid value for 'double'",
},
},
},
@@ -36,28 +36,28 @@ func TestFmtCol(t *testing.T) {
0,
0,
0,
"`first` VARCHAR(16383)",
"`first` varchar(16383)",
},
{
schema.NewColumn("last", 123, types.IntKind, true),
2,
0,
0,
" `last` BIGINT",
" `last` bigint",
},
{
schema.NewColumn("title", 2, types.UintKind, true),
0,
10,
0,
" `title` BIGINT UNSIGNED",
" `title` bigint unsigned",
},
{
schema.NewColumn("aoeui", 52, types.UintKind, true),
0,
10,
15,
" `aoeui` BIGINT UNSIGNED",
" `aoeui` bigint unsigned",
},
}