Skip to content

Commit f1e6588

Browse files
elianddbclaude
andcommitted
Fix enum zero validation test auto-increment expectations
Added explicit auto_increment = 1 to reset sequence for test reliability in integration environments. This ensures the test gets expected InsertID values regardless of previous test state. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 555f31e commit f1e6588

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

enginetest/queries/insert_queries.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2854,6 +2854,7 @@ var InsertIgnoreScripts = []ScriptTest{
28542854
Name: "issue 9425: 0 value is not allowed for enum in strict mode",
28552855
SetUpScript: []string{
28562856
"create table enum_zero_test (id int auto_increment primary key, enum_col enum('apple','banana','cherry'))",
2857+
"alter table enum_zero_test auto_increment = 1",
28572858
},
28582859
Assertions: []ScriptTestAssertion{
28592860
{

0 commit comments

Comments
 (0)