Commit Graph

2846 Commits (45b557ccfd6ff1eecf4d4ecff3c11d83ac035596)

Author SHA1 Message Date
Javier Jaramago Fernández 45b557ccfd Added handy comments to original 'mysql_query_digest_and_first_comment' implementation
5 years ago
Javier Jaramago Fernández 1c1b29b1f0 Added size check and added space removal after opening parenthesis when followed by number
5 years ago
Javier Jaramago Fernández aa09e86ca4 Store previous character as ending delimiter found for string literal
5 years ago
Javier Jaramago Fernández 20347b1e8e Removed extra spaces before NULL values when 'query_digests_replace_null=1'
5 years ago
Javier Jaramago Fernández c6249d4715 Added removal of extra space before closing parenthesis when previous char has been replaced
5 years ago
Javier Jaramago Fernández 7e41e793d9 Avoiding comma copy when 'groping_limit' is exceeded replaced in favor of deletion for avoiding unnecessary removals
5 years ago
Javier Jaramago Fernández c91db18c05 Several fixes for parsing issues in 'mysql_query_digest_and_first_comment'
5 years ago
René Cannaò 9293dea199 Do not shun backend for error 3118
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 3fd1cd3f13 Replaced non-thread safe 'strtok' function in favor of 'strtok_r' for 'IsKeepMultiplexEnabledVariables'
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
René Cannaò fb8857f1fe Fix a bug in get_multiple_idle_connections() #3628
5 years ago
Javier Jaramago Fernández 06c386dfd1
Merge pull request #3626 from sysown/v2.x-3625
5 years ago
Javier Jaramago Fernández 0058ecb4f0 Removed 'flush_error_log' call from 'PROXYSQL FLUSH QUERY CACHE'
5 years ago
Javier Jaramago Fernández 548174d1eb Condensed asserts for 'find_client_host_cache' and 'update_client_host_cache' into a single line #3625
5 years ago
Javier Jaramago Fernández 515167f5f9 Removed 'flush_error_log' call from 'PROXYSQL FLUSH MYSQL CLIENT HOSTS' #3625
5 years ago
Javier Jaramago Fernández 789ed52f87 Added default zero initialization for all variables from 'MySQL_Threads_Handler::variables' struct #3625
5 years ago
Javier Jaramago Fernández be0ceed53d Added missing client address for SQLite3 sessions and added asserts in case it's found 'NULL' in 'client_host_cache' operations #3625
5 years ago
Javier Jaramago Fernández 3a2d3f2d5e Fixed missing default initialization of varibles 'client_host_cache_size' and 'client_host_error_counts' #3625
5 years ago
Javier Jaramago Fernández b4c7b9323d
Merge pull request #3621 from sysown/v2.x-3620
5 years ago
Javier Jaramago Fernández db9b4ad70f
Merge pull request #3617 from sysown/v2.x-client_err_limit
5 years ago
Javier Jaramago Fernández 4f94fd3d0f
Merge pull request #3533 from sysown/v2.x-gr_replication_lag_action
5 years ago
Javier Jaramago Fernández 9aef676973 Added population of 'stats_mysql_client_host_cache' when 'stats_mysql_client_host_cache_reset' is queried
5 years ago
Javier Jaramago Fernández c268259bde Fixed memory leak of client received packet when SSL connection is initiated #3620
5 years ago
Javier Jaramago Fernández 36abd62314 Fixed memory leak for 'client_addr' in case of wrong credentials for frontend connection #3620
5 years ago
Javier Jaramago Fernández d115e20ed4 Fixed size check for 'client_host_cache' and fixed logic preventing the cache from reducing it's size in certain conditions
5 years ago
Javier Jaramago Fernández 416a0470a5 Added tables 'stats_mysql_client_host_cache' and 'stats_mysql_client_host_cache_reset' exposing entries in 'client_host_cache'
5 years ago
Javier Jaramago Fernández 514ffe939a Fixed double increment in 'update_client_host_cache' when oldest entry is updated
5 years ago
Javier Jaramago Fernández 2d3da0fca3 Simplified check for query 'PROXYSQL FLUSH MYSQL CLIENT HOSTS' via 'strcasecmp'
5 years ago
Javier Jaramago Fernández e7d9a4c74d Added extra logging when a connection is closed due to 'client_host_error_counts' being reached
5 years ago
Javier Jaramago Fernández 625daa9cd3 Fixed check for 'client_host' error count and added missing free
5 years ago
Javier Jaramago Fernández 3addb9a194 Improved implementation of helper function 'get_client_addr' using 'handler___status_NONE_or_default' as reference
5 years ago
Javier Jaramago Fernández 6e533cb5d9 Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-client_err_limit
5 years ago
René Cannaò 3a481ecb89 Removing some printf
5 years ago
René Cannaò e751dbbf32
Merge pull request #3609 from sysown/v2.x-3591
5 years ago
René Cannaò 8778df61ee
Merge pull request #3610 from sysown/2.x-3608
5 years ago
René Cannaò b485623d6f Reimplemented the handling of comments in 'USE' statements #3493
5 years ago
Javier Jaramago Fernández 8091b26f64 Added compilation fix enabling 'EPOLL' support in 'libhttpserver' required by RESTAPI #3591
5 years ago
Javier Jaramago Fernández 0a37981529 Added comments for the fix introduced for #3603
5 years ago
Javier Jaramago Fernández d81af3faf5 Fixed invalid preservation of old 'NULL' values for previously executed stmt #3603
5 years ago
René Cannaò 42fad778e3 Do not copy MYSQL_TS if length is 0
5 years ago
René Cannaò 0bef2e8149 Correctly bind parameters if new_params_bound_flag is not provided
5 years ago
René Cannaò 38c5a76d0e Use Aurora writer for reads if max_lag_ms isn't specified
5 years ago
René Cannaò d0f6ba3503
Merge pull request #3582 from sysown/v2.x-cherry-pick_3305
5 years ago
René Cannaò 2a5121e52f
Merge pull request #3514 from egezonberisha/pt-heartbeat-query-delay
5 years ago
René Cannaò aceeaf79ed Disabled prometheus metrics dump , see #3571
5 years ago
René Cannaò cf33522a25 Commenting unused code
5 years ago