-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql/mutations: begin work on multi-statement mutations #42298
Conversation
This is the beginning of how we might support multi-statement mutators. |
|
||
// Check if a table has the needed column types. | ||
LoopTable: | ||
for refTable, refCols := range cols { |
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.
I found an error that showed up in my ci (I think i sent it to you already), but i don't think you can use the same column in multiple foreign key constraints? This threw an error in some randomly generated create table statement.
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.
I added a commit to address this. PTAL.
Reviewable isn't showing me the whole pr for some reason, so left some comments on the github reviewer |
This allows for users to choose when to use it during RandCreateTables. Release note: None
LGTM |
bors r+ |
Build succeeded |
No description provided.