Please answer these questions before submitting your issue. Thanks!
create table t( col decimal(1,2) not null default 0);
ERROR 1427 (42000): For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column 'col').
ERROR 1105 (HY000): runtime error: invalid memory address or nil pointer dereference
v4.0.8
I will try to fix it.
Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: https://github.com/pingcap/tidb/issues/20100
Most helpful comment
I will try to fix it.