Commit Graph

2884 Commits (9ee636395dbea080be8ec2d4319e7233e9dd241e)

Author SHA1 Message Date
René Cannaò 9ee636395d Remove poor optimization to disable wsrep_sync_wait #3723
4 years ago
René Cannaò 00916441b9 Admin support for SELECT current_user() and user()
4 years ago
René Cannaò e0e149d9b2
Merge pull request #3710 from sysown/v2.x-3690
4 years ago
Javier Jaramago Fernández da8d343051 Fixed 'user_attributes' not being preserved during 'COM_CHANGE_USER' #2021
4 years ago
Javier Jaramago Fernández 8cd505bde6 Added support for 'COM_RESET_CONNECTION' #2021
4 years ago
Javier Jaramago Fernández bcb009fc24 Revert "Merge pull request #3645 from sysown/v2.x-2021"
4 years ago
Javier Jaramago Fernández 88dc295781 Fixed invalid handling of large packets in 'SQLite3_to_MySQL' function #3690
4 years ago
René Cannaò ff05b5fd3c MYSQL_COM_STATISTICS was displaying wrong number of slow queries
4 years ago
René Cannaò 6485d1549d
Merge pull request #3700 from sysown/v2.x-multiple_port_delay
4 years ago
Jared Jetsel 111117bbc8 Merge branch 'v2.x-3674' of https://github.com/jaredev/proxysql into v2.x-3674
4 years ago
Jared Jetsel 962116f1b6 Fixed typo, memory leak, and documentation.
4 years ago
René Cannaò b59467371a
Merge branch 'v2.x' into v2.x-3674
4 years ago
René Cannaò 33fba7641a Speed up start time with multiple listeners #3699
4 years ago
René Cannaò e892413d1a
Merge branch 'v2.x' into v2.x-2021
4 years ago
René Cannaò 7edfec6f3f
Merge pull request #3657 from sysown/v2.x-3655
4 years ago
René Cannaò 698031eb7a
Merge pull request #3676 from sysown/v2.x-3592
4 years ago
René Cannaò aed1f205d4 Merge branch 'v2.x' into v2.x-3655
4 years ago
René Cannaò a6edd02a9b Revert "Merge branch 'v2.x' into v2.x-2021"
4 years ago
René Cannaò 3a3931f2d4
Merge branch 'v2.x' into v2.x-2021
4 years ago
René Cannaò 22ed00e2f7
Merge pull request #3652 from sysown/v2.x-3606
4 years ago
René Cannaò 8cea730de0
Merge pull request #3661 from sysown/v2.x-3649
4 years ago
René Cannaò ab3f9bcedc PROXYSQLTEST 51 and 52 on debug build only
4 years ago
René Cannaò 79d1d8742c Testing unbalanced weight
4 years ago
Jared Jetsel 910a626652 Fixed error messages
5 years ago
Jared Jetsel d114dbe3a3 Const strings where appropriate and improved test for statistics
5 years ago
Jared Jetsel 0ef478e597 In debug mode, the handlers for ProxySQL_Statistics are called even if the web interface plugin is not loaded. This way the code can be tested even if the plugin is not loaded. Added new member function ProxySQL_Statistics::knows_variable_name(), which is used to check if a variable_name is in the map. This is useful to do a check before get_variable_id_for_name() in instances where it is undesirable to load or create entries in the lookup table, while keeping direct access to the map private and mutex protected. In ProxySQL_Statistics::get_variable_id_for_name, wrapped the variable_id select code in a lambda so that it could be reused instead of calling sqlite3_last_insert_rowid(), as there were some thread safety concerns which potentially could produce incorrect ids. Changed the insert to use execute() instead of execute_statement() instead, sufficient and simpler. Added error in case the function could not find, load, or generate a new id.
5 years ago
Jared Jetsel 1adaf74170 Modified ProxySQL_Statistics to have two new member functions and two new private members. These are used to map the string variable_name to an integer variable_id to improve scalability. See documentation about their usage. Updated the MySQL_Threads_Hander_sets_v2 function to load the variable_name_id_map if it is empty for initial load from the lookup table. The prepared statement binds was changed to use the int64 variable_id retreived from the map.
5 years ago
Jared Jetsel d644f13780 Updated the SQLite history_mysql_status_variables create table statement to use variable_id instead of name for improved scalability. Added an index for the sql_status_variables table. Added lookup table create statement for history_mysql_status_variables_lookup table to refer the variable_id integer key to the variable_name string. Inserted the new table definition and execute code for the create index that were added. As the code has not yet received public release, there is no concern of keeping the previous table definition, and so the version number refers to v2.4.0.
5 years ago
René Cannaò 5efb1dd020
Merge pull request #3664 from VinaySagarGonabavi/u/gonabavi/using_transaction_isolation_should_not_disable_multiplexing
5 years ago
Javier Jaramago Fernández d0ed1895fa Fixed typo in 'round_intv_to_time_interval' preventing parameter update
5 years ago
Javier Jaramago Fernández 545f5c5a29 Fixed typos found in 'th_metrics_map' definition
5 years ago
Javier Jaramago Fernández 71a1f64f2d Added new metric 'proxysql_fds_in_use' reporting the current number of file descriptors in use #3592
5 years ago
René Cannaò 9293dea199 Do not shun backend for error 3118
5 years ago
Javier Jaramago Fernández 6a92cc9238 Added new command 'PROXYSQL_SIMULATOR' with support for simulating connection errors #3649
5 years ago
Javier Jaramago Fernández 4838d75cd3 Added new mysql variable 'mysql-unshun_algorithm' #3649
5 years ago
Vinay Sagar Gonabavi 5bd42079f7 Add transaction_isolation to the list of hardcoded session variables that do not disable ProxySQL multiplexing
5 years ago
Javier Jaramago Fernández dc4bf3ccce Added 'schemaname' to userinfo for 'PROXYSQL INTERNAL SESSION' command #3655
5 years ago
René Cannaò 4b04332473 Add optional mutex in MySrvC::connect_error()
5 years ago
René Cannaò 7ef783487c Adding skeleton for PROXYSQL_SIMULATOR
5 years ago
René Cannaò a752292b9e Added function unshun_server_all_hostgroups()
5 years ago
René Cannaò b150313ef8
Merge pull request #3658 from sysown/v2.x-asan_ci_run
5 years ago
Javier Jaramago Fernández 86e5caf6ea Fixed handling of splitted packets during 'CONNECTING_SERVER' state for 'FAST_FORWARD' mode
5 years ago
René Cannaò d1e70578ba Adding support links to proxysql.com
5 years ago
Javier Jaramago Fernández 062381efd4 Fixed crashes in 'MySQL_Session::get_pkts_from_client' when 'mysql-query_digests' are disabled #3655
5 years ago
Javier Jaramago Fernández 3fd1cd3f13 Replaced non-thread safe 'strtok' function in favor of 'strtok_r' for 'IsKeepMultiplexEnabledVariables'
5 years ago
Javier Jaramago Fernández a49433cc91 Manually set 'POLLOUT' event for 'SHOW_WARNINGS' session status to ensure sending by 'MySQL_Connection' #3606
5 years ago
Javier Jaramago Fernández 4312cd9a72 Moved session cleanup after error report for 'SHOW_WARNINGS' #3606
5 years ago
Javier Jaramago Fernández c3d0ecd84f Improved implementation of 'mysql-log_mysql_warnings_enabled' #3606
5 years ago
Javier Jaramago Fernández cbe926b4f7
Fix regression introduced for 'at signs' parsing for multiplexing disabling (#3647)
5 years ago
Javier Jaramago Fernández 9829c6d37b
Fixes crashes related with 'client_error_limit' and connection timeouts (#3646)
5 years ago