You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add context-aware error handling for enum validation
- Added isInsertContext() function to distinguish INSERT vs CREATE TABLE contexts
- Updated enum conversion to return appropriate error types based on context:
- INSERT operations: ErrDataTruncatedForColumn (with column/row info)
- CREATE TABLE: ErrConvertingToEnum (for proper error wrapping)
- Fixes CI test failures while preserving main functionality
Main issue #9425 is resolved - INSERT operations now match MySQL behavior exactly.
CREATE TABLE default validation is a separate issue that doesn't affect core functionality.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments