-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
plan: resolve indices for apply schema #6540
Conversation
If the apply schema is not resolved, the handle will be lost, then update will update the row with 0 handle.
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.
LGTM
/run-all-tests |
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.
LGTM
executor/write_test.go
Outdated
tk.MustExec("insert detail values ('abc', '123', 2)") | ||
tk.MustExec(` | ||
UPDATE msg SET msg.status = (SELECT detail.status FROM detail WHERE detail.start = '123' AND msg.id = detail.id) | ||
WHERE EXISTS (SELECT 1 FROM detail d WHERE d.start = '123' AND msg.id = d.id)`) |
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.
Could we remove line 1607? I think it makes the test easier
/run-all-tests |
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.
LGTM
/run-unit-test |
If the apply schema is not resolved, the handle will be lost, then update will update the row with 0 handle.