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 settings.max_partitions_per_insert_block type #5028

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

mohammad7t
Copy link
Contributor

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

Category (leave one):

  • Bug Fix

Short description (up to few sentences):
The max_partitions_per_insert_block field is of size_t type, rather than Boolean

The `max_partitions_per_insert_block` field is of `size_t` type, rather than `Boolean`
mohammad7t added a commit to mohammad7t/clickhouse-driver that referenced this pull request Apr 17, 2019
The `max_partitions_per_insert_block` is defined in:
https://github.com/yandex/ClickHouse/blob/f566182582c70986be19777b3583c803607928ad/dbms/src/Core/Settings.h#L315

Regarding the data type, I have submitted the pull request ClickHouse/ClickHouse#5028 because it is used in other places of code as `size_t`, rather than `boolean`.
@alexey-milovidov alexey-milovidov added pr-bugfix Pull request with bugfix, not backported by default can be tested labels Apr 18, 2019
@alexey-milovidov alexey-milovidov merged commit ab27970 into ClickHouse:master Apr 18, 2019
@alexey-milovidov
Copy link
Member

Also cherry-picked to #4884

@abyss7 abyss7 added the v19.5 label Apr 26, 2019
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