Multi schema change - add a column and create a index on the column just created raises ERROR 1072 (42000): column does not exist:
#45750
Labels
may-affects-5.2
This bug maybe affects 5.2.x versions.
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
severity/major
sig/sql-infra
SIG: SQL Infra
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)
2. What did you expect to see? (Required)
ALTER TABLE delete_me ADD name varchar(255), ADD INDEX index_delete_me_on_name (name)
should addname
column and addindex_delete_me_on_name
index as MySQL 8.0.33 does.3. What did you see instead (Required)
ALTER TABLE delete_me ADD name varchar(255), ADD INDEX index_delete_me_on_name (name)
getsERROR 1072 (42000): column does not exist: name
.4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: