Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDL:check stored when alter column #9586

Closed
wants to merge 1 commit into from
Closed

DDL:check stored when alter column #9586

wants to merge 1 commit into from

Conversation

xiekeyi98
Copy link
Contributor

What problem does this PR solve?

Fix #9453

What is changed and how it works?

When we exec ALTER TABLE ADD COLUMN, it will check it is stored column now.

Check List

Tests

  • Manual test
mysql> create table t(a int );
Query OK, 0 rows affected (0.01 sec)

mysql> alter table t add column b int as (a+1) stored;
ERROR 1105 (HY000): unsupported add column
mysql> 

@xiekeyi98 xiekeyi98 changed the title check add column stored DDL:check stored when alter column Mar 7, 2019
@xiekeyi98
Copy link
Contributor Author

Close this PR because it is not ready in a short time.

@xiekeyi98 xiekeyi98 closed this Mar 7, 2019
@sre-bot sre-bot added the contribution This PR is from a community contributor. label Dec 18, 2019
@you06 you06 added the sig/sql-infra SIG: SQL Infra label Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor. sig/sql-infra SIG: SQL Infra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add generated stored column problem.
3 participants