"Data too long" error when dumping stats from a table with new collation #27024
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
component/statistics
fixes-5.1.2
fixes-5.3.0
This bug is fixed at 5.3.0
severity/major
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
start a tidb with new collation enabled.
try to dump the stats:
2. What did you expect to see? (Required)
No error.
3. What did you see instead (Required)
"[types:1406]Data Too Long, field len 10, data len 20"
4. What is your TiDB version? (Required)
current master (af2da8d)
The text was updated successfully, but these errors were encountered: