Skip to content

Commit d198c59

Browse files
elianddbclaude
andcommitted
Fix INSERT IGNORE test expecting old enum error format
- Updated issue 8611 test to expect ErrDataTruncatedForColumnAtRow instead of ErrDataTruncatedForColumn - Test was failing because it expected the old error type without row information - All INSERT IGNORE tests now pass with the new MySQL-compliant error format 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent af73949 commit d198c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enginetest/queries/insert_queries.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2836,7 +2836,7 @@ var InsertIgnoreScripts = []ScriptTest{
28362836
Assertions: []ScriptTestAssertion{
28372837
{
28382838
Query: "insert into test_table values (1, 'invalid'), (2, 'comparative politics'), (3, null)",
2839-
ExpectedErr: types.ErrDataTruncatedForColumn,
2839+
ExpectedErr: types.ErrDataTruncatedForColumnAtRow,
28402840
},
28412841
{
28422842
Query: "insert ignore into test_table values (1, 'invalid'), (2, 'bye'), (3, null)",

0 commit comments

Comments
 (0)