-
Notifications
You must be signed in to change notification settings - Fork 977
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
Disabling variables from MySQL_Variables #2894
Closed
Closed
Conversation
This file contains 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
Added signal handler installation when running in the foreground
Fix pxc_maint_mode failback when writer_is_also_reader=2
Fix shunning reader when node goes to MAINTENANCE
fix for galera set writer
transaction_isolation test
This will enable aux threads by default as per #2638
add workdir as environment variable
Fix issue 2727: Error setting MYSQL_OPTION_MULTI_STATEMENTS
fix unquoted table name leading to sql errors
Ignore last semicolon from SET statements #2838
V2.0.13 changes on SET testing
…on / shutdown stages
… are already deinitialized
Fixes #2850: Segfaults due to access to 'GloMyLogger' and 'GloMTH' when already deinitialized
Fixes #2834: Segfault due to invalid access to threads during startup / shutdown
Prevent crash if CHARACTER_SET_CONNECTION is not initialized yet #2863
Extended `mysql_variable_st` to add a new variable `is_global_variable`. Using this variable we define the global variables. Modified `mysql_tracked_variables[]` to also specify `is_global_variable`. Removed `default_charset` from `MySQL_Threads_Handler::variables` to use `mysql_tracked_variables[]` instead. Removed `default_charset` also from `mysql_thread_variables_names[]`. Fixed `MySQL_Threads_Handler::get_variable_string()` : it was *not* returning `mysql-default_` variables. `MySQL_Threads_Handler::set_variable()` adds `mysql-default_` variables only if `is_global_variable` is set. In `MySQL_Threads_Handler::set_variable()` replaced a `strcasecmp()` with `strcmp()` for `mysql-default_` variables. `MySQL_Threads_Handler::get_variables_list()` returns only `mysql-default_` variables with `is_global_variable` enabled. `MySQL_Threads_Handler::has_variable()` for `mysql-default_` variables returns true only if variable has `is_global_variable` enabled. `MySQL_Thread::refresh_variables()` does not refresh `mysql-default_` variables if `is_global_variable` is not enabled. `MySQL_Thread::MySQL_Thread()` initializes to NULL all `mysql_thread___default_variables[]` variables. Completely disabled in `ProxySQL_Admin::flush_mysql_variables___database_to_runtime()` the logic applied to all charset variables. In the same methos was implemented the logic described in #1785 : `mysql-default_charset` and `mysql-default_collation_connection` must be compatible: * if only one is present, the other is configured automatically * if not compatible, `mysql-default_charset` is configured from `mysql-default_collation_connection`
…hanged. If mysql-default_charset is changed but mysql-default_collation_connection it is not, use mysql-default_charset to tune mysql-default_collation_connection.
This reverts commit 62fa7e5.
This reverts commit 097c9a7.
This reverts commit 93f9787.
This reverts commit bfc2ba8.
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.
Port to v2.1.0 of PR #2866