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
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
mysql> create table a (col1 int, col2 int, unique key (col1, col2)) partition by range columns (col1, col2) (partition p0 values less than (NULL, 1 ));
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 28 near ",1))"
Expected:
mysql> create table a (col1 int, col2 int, unique key (col1, col2)) partition by range columns (col1, col2) (partition p0 values less than (NULL, 1));
ERROR 1566 (HY000): Not allowed to use NULL value in VALUES LESS THAN
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Expected:
The text was updated successfully, but these errors were encountered: