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

plan, executor: deep clone TopN when push it down through Join #5158

Merged
merged 3 commits into from Nov 20, 2017

Conversation

XuHuaiyu
Copy link
Contributor

fix #5055

The builtin copy func in GoLang is not real deep copy,
so if push down TopN though Join, the ByItem of TopN may be modified unexpectedly.
PTAL @winoros @hanfei1991

@XuHuaiyu XuHuaiyu added the type/bug-fix This PR fixes a bug. label Nov 20, 2017
@XuHuaiyu XuHuaiyu added this to the 1.1 milestone Nov 20, 2017
Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@winoros
Copy link
Member

winoros commented Nov 20, 2017

CI failed.

@XuHuaiyu
Copy link
Contributor Author

/run-all-tests

Copy link
Member

@winoros winoros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug-fix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navicat autorun a sql and cause a parse error
3 participants