Skip to content

Commit 9643b58

Browse files
author
James Cor
committed
dialect
1 parent 2e8f3b9 commit 9643b58

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

enginetest/queries/script_queries.go

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8778,6 +8778,7 @@ where
87788778
},
87798779
{
87808780
Name: "enums with default values",
8781+
Dialect: "mysql",
87818782
SetUpScript: []string{},
87828783
Assertions: []ScriptTestAssertion{
87838784
{
@@ -8980,6 +8981,7 @@ where
89808981
{
89818982
Skip: true,
89828983
Name: "enums with auto increment",
8984+
Dialect: "mysql",
89838985
SetUpScript: []string{},
89848986
Assertions: []ScriptTestAssertion{
89858987
{
@@ -8990,8 +8992,9 @@ where
89908992
},
89918993
{
89928994
// This is with STRICT_TRANS_TABLES or STRICT_ALL_TABLES in sql_mode
8993-
Skip: true,
8994-
Name: "enums with zero",
8995+
Skip: true,
8996+
Name: "enums with zero",
8997+
Dialect: "mysql",
89958998
SetUpScript: []string{
89968999
"create table t (e enum('a', 'b', 'c'));",
89979000
},
@@ -9009,8 +9012,9 @@ where
90099012
},
90109013
{
90119014
// This is with STRICT_TRANS_TABLES or STRICT_ALL_TABLES in sql_mode
9012-
Skip: true,
9013-
Name: "enums with empty string",
9015+
Skip: true,
9016+
Name: "enums with empty string",
9017+
Dialect: "mysql",
90149018
SetUpScript: []string{
90159019
"create table t (e enum('a', 'b', 'c'));",
90169020
"create table et (e enum('a', 'b', '', 'c'));",
@@ -9043,8 +9047,9 @@ where
90439047
},
90449048
},
90459049
{
9046-
Skip: true,
9047-
Name: "enum conversion to strings",
9050+
Skip: true,
9051+
Name: "enum conversion to strings",
9052+
Dialect: "mysql",
90489053
SetUpScript: []string{
90499054
"create table t (e enum('abc', 'defg', 'hjikl'));",
90509055
"insert into t values(1), (2), (3);",
@@ -9071,8 +9076,9 @@ where
90719076
},
90729077
},
90739078
{
9074-
Skip: true,
9075-
Name: "enums with foreign keys",
9079+
Skip: true,
9080+
Name: "enums with foreign keys",
9081+
Dialect: "mysql",
90769082
SetUpScript: []string{
90779083
"create table parent (e enum('a', 'b', 'c') primary key);",
90789084
"insert into parent values (1), (2);",
@@ -9250,8 +9256,9 @@ where
92509256
},
92519257
},
92529258
{
9253-
Skip: true,
9254-
Name: "enums with foreign keys and cascade",
9259+
Skip: true,
9260+
Name: "enums with foreign keys and cascade",
9261+
Dialect: "mysql",
92559262
SetUpScript: []string{
92569263
"create table parent (e enum('a', 'b', 'c') primary key);",
92579264
"insert into parent values (1), (2);",

0 commit comments

Comments
 (0)