Add support for MySQL net_write_timeout and net_read_timeout settings#58835
Merged
alexey-milovidov merged 5 commits intoJan 16, 2024
Merged
Conversation
Contributor
|
This is an automated comment for commit 204a291 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
alexey-milovidov
approved these changes
Jan 15, 2024
alexey-milovidov
left a comment
Member
There was a problem hiding this comment.
Ok.
A bit rough but in line with the existing code in MySQLHandler.
Member
|
Possible better solution will be:
|
Member
|
It was merged without checking the CI status, and looks like it breaks |
Contributor
Author
|
@tavplubix, thanks for the heads up; I will double-check what's up with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #58553
Allows to use the following settings via MySQL interface:
net_write_timeoutis translated into the nativesend_timeoutClickHouse setting and, similarly,net_read_timeoutintoreceive_timeout. These statements work regardless of the input query being upper or lower case.Additionally, fixed an issue where changing MySQL
SQL_SELECT_LIMITsetting was possible only if the entire statement was in upper case.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
MySQL interface gained support for
net_write_timeoutandnet_read_timeoutsettings.net_write_timeoutis translated into the nativesend_timeoutClickHouse setting and, similarly,net_read_timeoutintoreceive_timeout. Fixed an issue where it was possible to set MySQLsql_select_limitsetting only if the entire statement was in upper case.