Skip to content

Commit 64cad7e

Browse files
author
James Cor
committed
error test
1 parent 2f96704 commit 64cad7e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

enginetest/queries/script_queries.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7493,6 +7493,11 @@ where
74937493
{3, "c", float64(4)},
74947494
},
74957495
},
7496+
{
7497+
// TODO: MySQL preserves the original enum val and enum string, and throws a warning.
7498+
Query: "alter table t modify column e enum('abc');",
7499+
ExpectedErrStr: "value 2 is not valid for this Enum",
7500+
},
74967501
},
74977502
},
74987503
}

0 commit comments

Comments
 (0)