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

Fix crash when distributed modify order by #4790

Merged
merged 2 commits into from
Mar 26, 2019

Conversation

TCeason
Copy link
Contributor

@TCeason TCeason commented Mar 25, 2019

Did not determine if order_by_ast is empty.
If it is null, it will clone a null pointer and cause server crash.

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

For changelog. Remove if this is non-significant change.

Category (leave one):

  • Bug Fix

Short description (up to few sentences):
Fix crash in ALTER ... MODIFY ORDER BY on Distributed table.

@alexey-milovidov
Copy link
Member

Missing empty .reference file.

@TCeason TCeason force-pushed the fix_crash branch 2 times, most recently from e5b76e6 to 126ade3 Compare March 26, 2019 05:28
Did not determine if order_by_ast is empty.
If it is null, it will clone a null pointer and cause server crash.
@TCeason
Copy link
Contributor Author

TCeason commented Mar 26, 2019

This seems to have nothing to do with my changes.

Functional stateful tests (thread) — fail:20, passed:46

@alexey-milovidov
Copy link
Member

This seems to have nothing to do with my changes.

True.

@alexey-milovidov alexey-milovidov merged commit d047a62 into ClickHouse:master Mar 26, 2019
@abyss7 abyss7 added the pr-bugfix Pull request with bugfix, not backported by default label Apr 10, 2019
@TCeason TCeason deleted the fix_crash branch December 25, 2020 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants