We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de838d5 commit 5feb06bCopy full SHA for 5feb06b
enginetest/queries/insert_queries.go
@@ -2715,6 +2715,14 @@ var InsertErrorScripts = []ScriptTest{
2715
Query: "insert into t values ('2020-01-01 a')",
2716
ExpectedErr: sql.ErrInvalidValue,
2717
},
2718
+ {
2719
+ Name: "try inserting incorrect date value",
2720
+ SetUpScript: []string{
2721
+ "create table t (d date)",
2722
+ },
2723
+ Query: "insert into t values ('2020-01-01 a')",
2724
+ ExpectedErr: sql.ErrInvalidValue,
2725
2726
}
2727
2728
var InsertIgnoreScripts = []ScriptTest{
0 commit comments