The truncate error message is not compatible with MySQL when modifying the column type #24621
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
severity/minor
type/bug
The issue is confirmed as a bug.
type/compatibility
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
ERROR 1265 (01000): Data truncated for column 'a' at row 1
3. What did you see instead (Required)
ERROR 1406 (22001): Data Too Long, field len 12, data len 20
4. What is your TiDB version? (Required)
Release Version: v4.0.0-beta.2-2810-g3e0947fd2
Edition: Community
Git Commit Hash: 3e0947f
Git Branch: master
The text was updated successfully, but these errors were encountered: