-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
add foreign key as part of set statement when reserved connection is needed #14696
Conversation
…needed Signed-off-by: Harshit Gangal <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this change affect only DDL queries or will it also cause DML queries to execute a set statement too?
It is session-based. If a session receives a DDL and there was a |
The new test is failing in CI -
|
…ssion Signed-off-by: Harshit Gangal <[email protected]>
…lace statement, make foreign_key_checks as reserved connection variable Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple more things to fix. Approving because they are just refactors, the code changes look good to me
Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
…needed (vitessio#14696) Signed-off-by: Harshit Gangal <[email protected]>
Description
This PR fixes the issue with DDL statements which do not acknowledge the
foreign_key_checks
setting.Related Issue(s)
Checklist
main