Skip to content

Conversation

@azat
Copy link
Member

@azat azat commented Nov 20, 2021

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix MySQLWire format (in case of multiple writes)

Detailed description / Documentation draft:
In case of multiple writes File() engine will set doNotWritePrefix(),
and this will avoid serializations initilization, move this to do this
always.

Note, that this will also fix performance tests in master (in PRs not all tests will be run, so most of the time they will be ok)

Fixes: #31004 (cc @Avogar )

NOTE: Marked as Not for changelog since original PR has not been included into any stable release yet

In case of multiple writes File() engine will set doNotWritePrefix(),
and this will avoid serializations initilization, move this to do this
always.

Fixes: ClickHouse#31004
@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Nov 20, 2021
@Avogar Avogar self-assigned this Nov 20, 2021
@azat
Copy link
Member Author

azat commented Nov 21, 2021

@azat azat changed the title Fix MySQLWire format (in case of multiple writes) Fix MySQLWire format (this will also fix performance tests) Nov 21, 2021
@alexey-milovidov alexey-milovidov merged commit 4cdb40e into ClickHouse:master Nov 21, 2021
@azat azat deleted the fix-MySQLWire branch November 21, 2021 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants