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
create table t2 (c int, c1 double default (rand(1)));
show columns from test.t2 where field='c1';
2. What did you expect to see? (Required)
mysql> show columns from test.t2 where field='c1';
+-------+--------+------+-----+---------+-------------------+
| Field | Type | Null | Key | Default | Extra |
+-------+--------+------+-----+---------+-------------------+
| c1 | double | YES | | rand(1) | DEFAULT_GENERATED |
+-------+--------+------+-----+---------+-------------------+
1 row in set (0.00 sec)
3. What did you see instead (Required)
tidb> show columns from test.t2 where field='c1';
+-------+--------+------+------+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+--------+------+------+---------+-------+
| c1 | double | YES | | rand(1) | |
+-------+--------+------+------+---------+-------+
1 row in set (0.00 sec)
4. What is your TiDB version? (Required)
master
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)
Related issue:#50936
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: