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

ISSUES-2560 fix crash when create temporary with in clause #3098

Merged
merged 1 commit into from
Sep 13, 2018

Conversation

zhang2014
Copy link
Contributor

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

@@ -135,9 +135,6 @@ InterpreterSelectQuery::InterpreterSelectQuery(
, input(input_)
, log(&Logger::get("InterpreterSelectQuery"))
{
if (!context.hasQueryContext())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is the cause of the problem, all queries without query_context and containing in clauses will crash. Because it's exposing the internal context.

@alexey-milovidov alexey-milovidov merged commit 3bad4ce into ClickHouse:master Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants