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

Fixed error with locking in InterpreterDropQuery [#CLICKHOUSE-3959] #3038

Merged
merged 1 commit into from
Sep 4, 2018

Conversation

alexey-milovidov
Copy link
Member

This error was introduced in #2260

lockForAlter was changed to lockDataForAlter that is incorrect.
(It doesn't block SELECTs)

Probably it was done by mistake, because for the TRUNCATE itself, lockDataForAlter looks reasonable, as this query only modifies data.

But for TRUNCATE table it is also incorrect.

@alexey-milovidov alexey-milovidov merged commit 0a3b569 into master Sep 4, 2018
@Felixoid Felixoid deleted the fix-drop-memory-table branch April 10, 2022 12:33
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.

1 participant