Commit 8bf943a
Update enum error tests to expect correct MySQL-compatible error messages
The enum validation tests were expecting the old error message
"value X is not valid for this Enum" but now correctly return
"Data truncated for column ''" in strict mode, which matches
MySQL's actual behavior.
Updated affected tests:
- enum_errors test cases for values 500 and -1
- enums_with_default case-sensitive collation test for invalid 'ABC'
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 0a764ce commit 8bf943a
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
1205 | | - | |
| 1205 | + | |
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
| |||
8053 | 8053 | | |
8054 | 8054 | | |
8055 | 8055 | | |
8056 | | - | |
| 8056 | + | |
8057 | 8057 | | |
8058 | 8058 | | |
8059 | 8059 | | |
8060 | | - | |
| 8060 | + | |
8061 | 8061 | | |
8062 | 8062 | | |
8063 | 8063 | | |
| |||
0 commit comments