ttl,ddl: disable ttl for fk and temp table#39581
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/run-check-issue-triage-complete |
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
388e48d to
5f4c300
Compare
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 5f4c300 |
|
In response to a cherrypick label: new pull request created: #39598. |
TiDB MergeCI notify🔴 Bad News! New failing [2] after this pr merged.
|
Signed-off-by: YangKeao yangkeao@chunibyo.icu
What problem does this PR solve?
Issue Number: close #39364, close #39351
Problem Summary:
TTL table cannot be a temporary table and cannot be referenced as the parent of foreign key.
What is changed and how it works?
Add several checks for alter ttl, alter forign key, and create table.
Check List
Tests