Commit Graph

1064 Commits (9ba3df0ce7bf8514dae010fd899b6cd537bb3746)

Author SHA1 Message Date
René Cannaò f0e3a87159 Introduce ignore_vars in MySQL_Variables
5 years ago
René Cannaò d53578f269
Merge pull request #3353 from sysown/v2.1.1-deprecate_forward_autocommit
5 years ago
René Cannaò 428f2e7e4f
Merge pull request #3358 from sysown/v2.1.1-3357
5 years ago
René Cannaò 206698d179 Avoid crash in MySQL_Result_to_MySQL_wire without myds #3363
5 years ago
René Cannaò ca3499054e
Merge pull request #3352 from sysown/v2.1.1-3350
5 years ago
René Cannaò 3266cfc506
Merge pull request #3343 from sysown/v2.1.1-spiffe
5 years ago
Javier Jaramago Fernández 228fe0640f Closes #3357: Ported 'v1.4.14-show-warnings' and added new mysql-variable to control it
5 years ago
René Cannaò a0fb4821cc Deprecate mysql-forward_autocommit #3253
5 years ago
Javier Jaramago Fernández 60bb5a65ae Closes #3350: Free memory when allocated for specific 'stmt_execute_metadata_t' bind buffers types
5 years ago
René Cannaò d258361258
Merge pull request #3348 from sysown/v2.1.1-3339
5 years ago
René Cannaò bd5d882770 Fixing an inifinite loop in case of multi-statements and closed backend connection
5 years ago
René Cannaò 7c0bde5f99 Working prototype for SPIFFE
5 years ago
René Cannaò 306fc0e2bb
Merge pull request #3330 from sysown/v2.1.1-3248
5 years ago
René Cannaò 5455b7d228
Merge pull request #3328 from sysown/v2.1.1-3327
5 years ago
Javier Jaramago Fernández 75af796049 Merge remote-tracking branch 'origin/v2.1.1' into v2.1.1-3248
5 years ago
René Cannaò b233819514
Merge pull request #3309 from sysown/v2.1.1-1574
5 years ago
Javier Jaramago Fernández d507880cbb Added new metric 'proxysql_myhgm_auto_increment_multiplex_total' tracking the number of times that 'auto_increment_delay_multiplex' is triggered
5 years ago
Javier Jaramago Fernández c0547d0cec Closes #3327: Moved call to 'ProcessQueryAndSetStatusFlags' to 'MySQL_Session::RequestEnd'
5 years ago
Javier Jaramago Fernández 7c1c829565 Compressed multiple 'p_update_mysql_error_counter' with ternary operator and replaced zero error codes with ER_PROXYSQL_OFFLINE_SRV
5 years ago
Javier Jaramago Fernández 851339b5f3 Closes #3310: Improve error reporting for 'MySQL_Monitor' and 'MySQL_Session' backend connections via counters
5 years ago
Javier Jaramago Fernández ac0b018a4d Update prepared statements metadata during 'PROCESSING_STMT_EXECUTE'
5 years ago
René Cannaò 259d07c9ab
Merge pull request #3295 from sysown/v2.1.0-ps_buffer
5 years ago
Javier Jaramago Fernández 8141642bfc Merge branch 'v2.1.1' into v2.1.1-3280
5 years ago
René Cannaò fca4055b50
Merge branch 'v2.1.1' into v2.1.0-ps_buffer
5 years ago
René Cannaò a592402902 Implementation of table stats_proxysql_servers_clients_status and PROXYSQL CLUSTER_NODE_UUID command
5 years ago
René Cannaò f3dba4dcae Do ot use charset_name if not available in SQL3_Free_Connections()
5 years ago
Javier Jaramago Fernández 1ee832affd Closes #3280: Add support to control 'CLIENT_DEPRECATE_EOF' in client and backend connections through global variables
5 years ago
René Cannaò 7921e130d2 Third commit to buffer resultsets in Prepared Statements
5 years ago
Javier Jaramago Fernández 2eb5d507df Fixed error log and errors reported to clients when several statements fails
5 years ago
Javier Jaramago Fernández ef53973018 Fixed memory leak due packet not being freed in 'switching_auth' during 'SERVER_HANDSHAKE'
5 years ago
René Cannaò 045bb460b1 Reset client connection when client issues a CHANGE_USER command
5 years ago
René Cannaò cd11e85e8c Minor code cleanup
5 years ago
René Cannaò 9225edbddd
Merge branch 'v2.1.0' into v2.1.0-deprecate_eof
5 years ago
Javier Jaramago Fernández 79e3d7a1b7 Added support to convert EOF packets into OK packets for 'Query_Cache' entries
5 years ago
Javier Jaramago Fernández 7150c7d8ed Added metadata to 'Query_Cache' entries for supporting EOF deprecation
5 years ago
René Cannaò 149530a8b2 Default eof_identifier=false in generate_pkt_OK()
5 years ago
Bibek Shrestha 60f2151fe1 Fix special queries response for CLIENT_DEPRECATE_EOF
5 years ago
Bibek Shrestha b16bb275f7 Hardcode false instead of default value
5 years ago
René Cannaò 8fb875aec1 First commit to split handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_QUERY_qpo
5 years ago
René Cannaò 3ab0054af9 Some code cleanup
5 years ago
René Cannaò cc4d8f232c Some code cleanup
5 years ago
René Cannaò 001351b880 More changes in get_pkts_from_client()
5 years ago
René Cannaò da43919b77 Refactoring MySQL_Session::get_pkts_from_client()
5 years ago
René Cannaò 8b5812f769 Removed dead code from MySQL_Session
5 years ago
René Cannaò f3ff10e989 Splitting MySQL_Session::get_pkts_from_client
5 years ago
René Cannaò b2e3ae4222 Splitting MySQL_Session::handler()
5 years ago
René Cannaò dd04dc3da4 Do not increment mysql counter error when there is no error
5 years ago
René Cannaò aaddb4e568 Port of #3001 to 2.1.0 , related to #3000
6 years ago
René Cannaò fdff65daea Implementation of max_transaction_idle_time
6 years ago
Valentin Rakush 2d4b0a25ca Fix QPO timeout overflow
6 years ago
René Cannaò 5fd6baba65 Removed commented code
6 years ago
René Cannaò dd017bbaf5 Fix a bug related to SET autocommit=1 filtered
6 years ago
René Cannaò 47d3420662 Change default of exit_after_SetParse
6 years ago
René Cannaò 848ddb2177 Added variable mysql-connect_timeout_client
6 years ago
Rene Cannao 41b173a83c Fixing a lot of compiler warnings
6 years ago
René Cannaò 33d8db02a6 Change the mapping logic for SESSION_TRACK_GTIDS
6 years ago
René Cannaò 6b4d576e6a Adding some internal comment
6 years ago
René Cannaò 61bca42ef3 Adding charset debugging
6 years ago
René Cannaò a0fc25fd8a Change DSS to STATE_MARIADB_GENERIC after async_change_user()
6 years ago
René Cannaò b9645b39dc
Merge branch 'v2.1.0' into v2.1.0-cherrypicks_2.0.13_2
6 years ago
René Cannaò 5ce13abc36
Merge pull request #2881 from sysown/v2.1.0-2717
6 years ago
Javier Jaramago Fernández e7b69bc269 Added extra info from 'QueryProcessor' to 'internal_session_info'
6 years ago
Javier Jaramago Fernández 4409044398 Added support for annotation 'create_new_connection' that prevents reusing backend connections
6 years ago
Javier Jaramago Fernández 9eda5a6d0a Removed 'sql_log_bin0' from 'conn.status' because it's a session variable and added 'compression'
6 years ago
René Cannaò d79ddad00b
Merge pull request #2844 from sysown/v2.1.0-cherrypicks_2.0.13
6 years ago
René Cannaò 3d74ef4828
Merge pull request #2882 from sysown/v2.1.0-2862
6 years ago
Javier Jaramago Fernández d10f519e4a Refactored 'MySQL_Session' set/get status functions
6 years ago
René Cannaò 00ce76e57e Add support for SAVEPOINT #948
6 years ago
Javier Jaramago Fernández 8fafa66336 Removed unused variables from 'MySQL_Connection()'
6 years ago
Javier Jaramago Fernández 7b82a3774a Set 'with_gtid' flag each time a GITD is going to be used
6 years ago
Javier Jaramago Fernández adaca60c1f Fixes segfault related to accesses to 'GloMyLogger' and 'GloMTH' when are already deinitialized
6 years ago
René Cannaò 416260ab53 Ignore last semicolon from SET statements #2838
6 years ago
René Cannaò 507f034a23
Merge pull request #2826 from sysown/v2.1.0-from2013-1
6 years ago
Arthur Schreiber 8ed63e8404 Reset data stream status after switching users.
6 years ago
Arthur Schreiber 32d6ba65c0 Actually set `session_track_gtids` on new backends.
6 years ago
René Cannaò 2bbd84d2c9 Support for SQLite3 plugin
6 years ago
Valentin Rakush b0d36acb2f Session variable group_concat_max_len
6 years ago
René Cannaò 23db1d7f22
Merge branch 'v2.1.0' into v2.1.0-testQP_stmt
6 years ago
René Cannaò 9acfaa211c
Merge pull request #2723 from sysown/v2.0.11-QP_stmt_2
6 years ago
René Cannaò 9998555eff Port of v2.0.11-QP_stmt_2 into v2.1.0-QP_stmt_2
6 years ago
René Cannaò 4b2107b7c3 Splitting MySQL_Session::get_pkts_from_client()
6 years ago
René Cannaò c0a3efdd7f
Merge branch 'v2.1.0' into v2.0.11-QP_stmt_2
6 years ago
René Cannaò 4bed506067 Breaking MySQL_Session::handler() in 2 main blocks
6 years ago
René Cannaò c95ad4bc03 Code cleanup
6 years ago
René Cannaò 1adceeb9d6 Merge branch 'v2.1.0_session_handler_split' into v2.1.0_session_handler_split_2
6 years ago
René Cannaò 0a78949d98
Merge branch 'v2.1.0' into v2.0.11-prometheus
6 years ago
René Cannaò 8d6b48f21d Adding new method MySQL_Session::handler_again___multiple_statuses()
6 years ago
Valentin Rakush d0acdcd5c2 Crashing often with strange new error (Error setting MYSQL_OPTION_MULTI_STATEMENTS)
6 years ago
René Cannaò 308639d0dc Renamed session_status NONE to session_status___NONE
6 years ago
René Cannaò 8083561058 Added a comment in MySQL_Session.cpp
6 years ago
val 890ad06868 Merge branch 'v2.0.11-QP_stmt_2' into v2.1.0-testQP_stmt
6 years ago
René Cannaò 543b96facf
Merge pull request #2651 from sysown/v2.0.11-aux
6 years ago
Javier Jaramago Fernández 7f8b07a0db Created new metric counters for registering 'mysql_errors'
6 years ago
René Cannaò 7b021e027a Do not cache routing metadata for COM_STMT_EXECUTE
6 years ago
Javier Jaramago Fernández a53988cc90 Removed deprecated double counters metric updates in favor of callback approach
6 years ago
René Cannaò 8cc88ce58e Migration of threads status variables as array
6 years ago
Javier Jaramago Fernández b6bca5a3ee Added metrics help and replaced metrics impl with new array based one for 'mysql_threads_handler' module
6 years ago
Javier Jaramago Fernández c48b109019 Replaced 'hostgroups_manager' prometheus metrics with new array based impl
6 years ago
Javier Jaramago Fernández c319db2c3d Added new prometheus metrics mimicking current ones
6 years ago
René Cannaò a863ec4ece
Merge pull request #2675 from sysown/v2.0.11-var2
6 years ago
René Cannaò b7834cc3d3 Fix multistatement error with SET NAMES #2655
6 years ago
René Cannaò c4b1dfb29b wsrep_sync_wait parsed via parse_variable_number()
6 years ago
René Cannaò 3454c625c2 Adding ability to parse some variables based ontheir attributes
6 years ago
René Cannaò 54ee4e9b69 Simplified the number of session statuses
6 years ago
René Cannaò d83f2974b6 on_connect_to_backend() to accept a MySQL_Connection as argument instead of a MySQL_Session
6 years ago
René Cannaò f3ba5159d6 Removed reference to "special_handling" variables
6 years ago
val 08c6622eb0 set charset command sets connection character set to empty
6 years ago
val 246a9d828a use separate function for set names verification
6 years ago
val 66788863b3 set names optimization
6 years ago
val d0d7018e34 rollback session_track_gtids
6 years ago
val ade8491f47 Re-evaluate on_connect_to_backend
6 years ago
val 6e75ac7033 do not change mysql_tracked_variables. do not use special_handling as for now
6 years ago
val abd0555852 remove is_connected_to_backend
6 years ago
val b0ca1a030f make MySQL_Variables a global variable
6 years ago
val 3e790c9083 Polishing and cleanup
6 years ago
Valentin Rakush 61c1913334 Character set handling implementation
6 years ago
René Cannaò c28deb7c7d Generalize the use of session variables
6 years ago
Valentin Rakush 0e79eb39f7 Implementation of the session variables array
6 years ago
René Cannaò 75606bb94d Simplifying MySQL_Thread::run() phase 1
6 years ago
val 07990f8a57 Proper error reporting
6 years ago
val 5d6debcb65 fix multi statement
6 years ago
val cdbf70817a Revert "Implementation of the session variables array"
6 years ago
val b1339faefd Revert "Generalize the use of session variables"
6 years ago
val eb08620181 Revert "Character set handling implementation"
6 years ago
val 8696ece34b Revert "Polishing and cleanup"
6 years ago
val dbafde2ff4 Polishing and cleanup
6 years ago
Valentin Rakush 796ea5b215 Character set handling implementation
6 years ago
René Cannaò d242771a25 Generalize the use of session variables
6 years ago
Valentin Rakush 1fb5c9cf06 Implementation of the session variables array
6 years ago
val 70b9f25937 edge case : offset==0 and limit==0
6 years ago
René Cannaò 6dc9606ac4 Update heartbeat during connections
6 years ago
val a78dbfb6b3 report mysql thread_id in case of error during query
6 years ago
René Cannaò 5a842772c4 Better handling of transactions in SQLite3
6 years ago
René Cannaò b0af4d272d Fix 2 bugs related to firewall
6 years ago
Valentin Rakush 7b7b94a20f More verbose output for failed SET statements
6 years ago
René Cannaò 3d2fd599db
Merge pull request #2469 from kirs/min-gtid
6 years ago
Kir Shatrov 3b031f3518 Prevent crash on index() returning NULL
6 years ago
Kir Shatrov 0922949b8c Support min_gtid comment
6 years ago
René Cannaò 5a346864de
Merge pull request #2449 from val214/v2.0.9-set-option
6 years ago
Valentin Rakush a9b0e6648e Return error 1290
6 years ago
Valentin Rakush b93b5f50bf MYSQL_SET_OPTION multiplexing
6 years ago
René Cannaò b8ecdaa708 Removing some comments
6 years ago
René Cannaò e9dc7a9b60 Implementation of SQLI fingerprints whitelist
6 years ago
Valentin Rakush 49181ac1bb Add host:port to unknown charset log messages
6 years ago
Valentin Rakush cfdbedeb54 unsigned int charset: add collation name in a log message
6 years ago
René Cannaò b9d155b4a5 Set variables before setting lock_hostgroup
6 years ago
René Cannaò 8954b46a02 Error log now lists the SQL injection query
6 years ago
René Cannaò e12a3b2792 Support for automatic SQL injection detection
6 years ago
René Cannaò 9afe6824ff
Merge pull request #2407 from sysown/v2.0.9-libmicrohttpd-0.9.68
6 years ago
René Cannaò 57e0b2eb2f
Merge pull request #2403 from sysown/v2.0.9-whitelist
6 years ago
René Cannaò c967bc179b Several improvements to SQLite3 Server module:
6 years ago
René Cannaò ce4a4a2464 Code cleanup and speeding compile time
6 years ago
René Cannaò 45e701b54d Code cleanup and speeding compile time
6 years ago
René Cannaò 80e92b144d [WIP] Second commit for mysql firewall whitelist
6 years ago
René Cannaò a09efe634e More verbose output if KILL fails
6 years ago
René Cannaò 364ba71002 Fix race condition on KILL CONNECTION
6 years ago
René Cannaò feccb76427 Revert "Fix race condition on KILL CONNECTION"
6 years ago
René Cannaò b959f29306 Fix race condition on KILL CONNECTION
6 years ago
René Cannaò d52a771e50 Fix memory leak when handling SET autocommit
6 years ago
René Cannaò 9502c2e7c4 Report client IP:port when setting lock_hostgroup
6 years ago
René Cannaò 288118d523 If unable to set session variable on backend, display value in error log
6 years ago
René Cannaò 3ad899c758 Avoid crash in JSON library for invalid UTF8
6 years ago
René Cannaò f2e878fda3 Readding a condition related to charset incorrectly removed
6 years ago
René Cannaò 6dbac33a62
Merge branch 'v2.0.8' into charset
6 years ago
Valentin Rakush 1e3aec3b94 Fixes after review
6 years ago
Valentin Rakush 15f121d82f handle unknown character set
6 years ago
Valentin Rakush 1008b7d0c5 unit8_t conversion
6 years ago
René Cannaò 630e66fd99 Fixing logic for SET CHARACTER SET #1692
6 years ago
Valentin Rakush b5725c44e3 set character set implementation. initial commit
7 years ago
René Cannaò 149c7c3a40 More verbose output for error 2019 #2273
7 years ago
René Cannaò e2b6a7a2c5
Merge pull request #2276 from sysown/v2.0.7-0926
7 years ago
René Cannaò 781aafb70f
Merge pull request #2274 from val214/tx_isolation
7 years ago
René Cannaò 7cc3f949b6 Apply mysql_query_rules.destination_hostgroup also when unable to parse SET statement.
7 years ago
René Cannaò a4f56291c8 Fixed crash caused by KILL QUERY and mysql-eventslog_format=2
7 years ago
Valentin Rakush 8f69091074 tx_isolation: do not duplicate tx_isolation with transaction_isolation. check mysql version.
7 years ago
Valentin Rakush 202cae4c39 set tx_isolation implementation
7 years ago
René Cannaò 86f6104e02 More verbosity on Ping timeout during ping #2265
7 years ago
Valentin Rakush 757684c6d9 [FR] Group Replication Timeout count
7 years ago
René Cannaò 84985baedc Improved the parsing of user variables
7 years ago
René Cannaò 99b4dd4bbd
Merge pull request #2243 from sysown/v2.0.7.2
7 years ago
René Cannaò aaf83eec78 Finalizing the support for more session variables
7 years ago
René Cannaò c520866058 More on functions for tracking more variables
7 years ago
René Cannaò 234eb9ba27 Fix bug #2224
7 years ago
René Cannaò 197a46ea0d More on functions for tracking more variables
7 years ago
René Cannaò 673bb96cfb Adding functions for tracking more variables
7 years ago
René Cannaò ddf4a231a3 More on adding functions for tracking variables
7 years ago
René Cannaò c06e316e8e Update CurrentQuery after adding LDAP comment
7 years ago
René Cannaò 015fc2a025 Report a clear error if LDAP authentication doesn't complete
7 years ago
René Cannaò 46606ccd01 More on adding functions for tracking variables
7 years ago
René Cannaò 46e38d4cf6 More debugging
7 years ago
René Cannaò 9971dc5b47 Adding several debug information
7 years ago
René Cannaò 57e04c63e9 Adding generic functions for tracking variables
7 years ago
René Cannaò a1f39bf784 2nd drafting tracking of various variables
7 years ago
René Cannaò 6e67c21224 Correctly set sql_mode from variable
7 years ago
René Cannaò e16fcb32a4 Reset gtid_hid for every request generating an OK packet
7 years ago
René Cannaò 9172993e4a Reset gtid_hid at the beginning of every request
7 years ago
René Cannaò 4c4380e818 Fixed a bug that prevent init_connect to work
7 years ago
René Cannaò 540a630774 Do not sent GTID in OK packets generated due to query rules
7 years ago
René Cannaò 0ef9ad832b Bug fix: improved autocommit logic
7 years ago
René Cannaò c746bf7f8a Fix invalid free
7 years ago
René Cannaò 9e81359651
Merge pull request #2185 from YYJiangLoveU/MS-branch
7 years ago
René Cannaò f3e7f03998 Implementation of COM_FIELD_LIST
7 years ago
Yiyao Jiang 3b0e2abbc4 remove the flag
7 years ago
Yiyao Jiang 63af8f3f52 Add azure_enabled
7 years ago
Yiyao Jiang a3b14fcb57 Add serverhost when connecting to MySQL Servers
7 years ago
René Cannaò c3177788de Do not close backend connection for error 1317
7 years ago
René Cannaò df703ee19c Set CLIENT_MULTI_STATEMENTS based on COM_SET_OPTION #2175
7 years ago
Yiyao Jiang 6211bc3b87 remove the blank line accidentally entered
7 years ago
René Cannaò 27c00478cc
Merge pull request #2164 from sysown/v2.0.6-2096
7 years ago
René Cannaò 37ee761b77 Disable SSLv3 #2169
7 years ago
René Cannaò 12d9ae1b6b Fix bug #2096
7 years ago
René Cannaò 4c1f4a8d82 Enhancements on AWS Aurora module
7 years ago
René Cannaò ce757db70d
Merge pull request #2156 from sysown/v2.0.6-hg_locked
7 years ago
René Cannaò 4b3c9eeb2a Partial revert of previous commit
7 years ago
René Cannaò 48207548c9 Lock on backend connection if SET statement is used in multi-statements command #2130
7 years ago
René Cannaò 2ba37e08ef
Merge pull request #2149 from sysown/v2.0.6-capability_tracking
7 years ago
René Cannaò 590a24c8c6 Tracking `CLIENT_MULTI_RESULTS`
7 years ago
René Cannaò 274ca31cbe Fix multiple OK in multistatement
7 years ago
René Cannaò 945ddc7a1f Set locked hostgroup for multistatements with SET
7 years ago
René Cannaò 8c4b70a557 Added capability to lock hostgroup
7 years ago
Yiyao Jiang a132b34f23 add servername when connecting MySQL
7 years ago
René Cannaò f2f3935fcd drafting locked hostgroup
7 years ago
René Cannaò 0708808bd4 Disable throttling for any client other than SESSION_MYSQL #2147
7 years ago
René Cannaò 0434295e6b Fix multiple OK in multistatement
7 years ago
René Cannaò 30b4b34c81 Use 32 bits for capabilities flags
7 years ago
René Cannaò 6691a867fa Fix issues/FR #2120 , #2121 and #2125
7 years ago
René Cannaò 334cbdba44 Merge branch 'v2.0.6-query-json' into v2.0.6
7 years ago
René Cannaò 230590bdc8 drafting hostgroup locking
7 years ago
René Cannaò 64c5bd9b08 Fix bug #2133
7 years ago
René Cannaò d65f7016b3 Fix bug #2131
7 years ago
René Cannaò 0831740e45 Several enhancements on Query logger
7 years ago
René Cannaò 37d79ad23a Fixed compiler warning: ISO C++ forbids converting a string constant to char pointer
7 years ago
René Cannaò 9ed7094cfe Implemeting of more locking in SELECT statements
7 years ago
René Cannaò 15aa536a6e
Merge pull request #2078 from sysown/v2.0.4-1886
7 years ago
René Cannaò 786bac6362 Adding more internal info in JSON format #2055
7 years ago
René Cannaò 0546bc3160
Merge pull request #2070 from sysown/v2.0.5-2055
7 years ago
René Cannaò 9604e9fbfb Adding age of sessions and connections #2055
7 years ago
René Cannaò 15aa025db3
Merge pull request #2067 from sysown/v2.0.5-1183
7 years ago
René Cannaò a6897eaa0d Adding more internal info in JSON format #2055
7 years ago
René Cannaò 7ea33a1312 Completing initial implementation of Audit module
7 years ago
René Cannaò 79dd412b48 Fix bug with stored procedures #2059
7 years ago
René Cannaò 9e2c1fdda1 Draft implementation of audit log
7 years ago
René Cannaò db03ba24e6 Minor improvement on JSON outpu for better search
7 years ago
René Cannaò fc597dee96 More minor bug in JSON output
7 years ago
René Cannaò c24753117c Minor bug in JSON report
7 years ago
René Cannaò 54d74dfcca Fix bug in add_ldap_comment_to_pkt when query starts with a comment
7 years ago
René Cannaò 88c2c6e3d4
Merge pull request #2044 from sysown/v2.0.1-aurora
7 years ago
René Cannaò 059579f5a2 Fix some compiler warnings
7 years ago
René Cannaò b12caa1d8c Adding support for automated testing of Galera
7 years ago
René Cannaò 58ff4ff892 Merge branch 'v2.0.4' into v2.0.1-aurora
7 years ago
René Cannaò 495c933624 Adding table stats.stats_mysql_free_connections
7 years ago
René Cannaò 6e34814d34 Adding more internal statistics
7 years ago
René Cannaò 528d8cac38 Improved debugging
7 years ago
René Cannaò 9462035b86 Parse set autocommit if used with other variables #1886
7 years ago
René Cannaò 9788643f38 Track NO_BACKSLASH_ESCAPES #1738
7 years ago
René Cannaò 3ad5b71104
Merge pull request #2016 from ahaha-zhang/v2.0.4-lastidentity
7 years ago
op1 1b14ebedd1 support select @@identity like LAST_INSERT_ID
7 years ago
René Cannaò 01023d6856 Merge branch 'v2.0.4' into v2.0.1-aurora
7 years ago
René Cannaò 8ca14abb55 LDAP comment added after the first word in query
7 years ago
René Cannaò 5b54aa3200 Errors on max connections reached #1936
7 years ago
René Cannaò c30d9c2132 Fix bug #1935
7 years ago
René Cannaò 7b2039ed1d Fix parsing bug #1967
7 years ago
René Cannaò e20acb9a1c Adding more status variables
7 years ago
René Cannaò 6aac86bebc Changed the way max_lag_ms in query is computed
7 years ago
René Cannaò 16913fdd78 Optimizing get_random_MySrvC()
7 years ago
René Cannaò af0a7100e2 Adding support for max_lag_ms in query
7 years ago
René Cannaò 0f923ba3fb
Merge pull request #1958 from carsonip/fix-typo
7 years ago
Carson Ip 1232a6382e Fix minor typos
7 years ago
Carson Ip cfe1c7ff72 No throttle when throttle_max_bytes_per_second_to_client == 0
7 years ago
René Cannaò d1b467e760 Do not kill Session if a backend failed
7 years ago
René Cannaò 0c232bf04b Do not kill Session if a backend failed
7 years ago
René Cannaò 2e20854684 Second commit (not complete) to support Aurora
7 years ago
René Cannaò 66c99d9227
Merge pull request #1908 from sysown/v2.0.2-ldap_variable
7 years ago
René Cannaò d2f8952a83 Fix crashes when fast_forward is used #1891
7 years ago
René Cannaò 868c5ec0e3 Adding ldap user variable, 2nd commit
7 years ago
René Cannaò 531f3b4021 Adding ldap user variable, first commit
7 years ago
René Cannaò 7cb9109c57 Multiplexing erroneously disabled #1897
7 years ago
René Cannaò cacbe7c901 Missing newline in an error message
7 years ago
René Cannaò 169478d87e Fix multiresult in 2.0
7 years ago
René Cannaò 0a60cfda11 Merge branch 'v2.0.0-tb' into v2.0.0-merge-tb
7 years ago
René Cannaò 49a4dd5fc5
Merge branch 'v2.0.0' into v2.0.0_merge_ldap
7 years ago
René Cannaò 6bdacade78 Added mysql-auto_increment_delay_multiplex #1828
7 years ago
René Cannaò bfa2162367
Merge pull request #1838 from acampoh/fix_sql_state_admin
7 years ago
René Cannaò 54d32d4580 Implementation of AUTH SWITCH
7 years ago
René Cannaò d1d8cb21ad Handle error 2019
7 years ago
René Cannaò d0b8986143 Remove trailing spaces from USE command
7 years ago
René Cannaò 10f38d4e2f Various code cleanup
7 years ago
René Cannaò 3218caff1a Merge branch 'v2.0-ldap' into v2.0.0_merge_ldap
7 years ago
Adrián del Campo c7d0c2caf6 Fixing sql states in many error messages from admin console.
7 years ago
René Cannaò 98f8d91f69 Do not uppercase LAST_INSERT_ID() #1094
7 years ago
René Cannaò 6ac1c417c5 Support for SELECT CONNECTION_ID() #1797
7 years ago
René Cannaò 4fc81d945a Free dataset after INIT_CONNECT
7 years ago
René Cannaò 0e452c7bbd Fix edge case
7 years ago
René Cannaò 8396041fd2 Minor tuning on previous commit
7 years ago
René Cannaò 3c49b2bf61 Revert autcommit to 1 if it is the first SELECT
7 years ago
René Cannaò 5117e1d3fa Log Authentication error
7 years ago
René Cannaò c0084f1357 Fixed computation of number of transactions
7 years ago
René Cannaò 52b0c7784f Added 3 new global status variables
7 years ago
René Cannaò 5a7c4b00e2 Fixing various compiler warnings
7 years ago
René Cannaò 0f56d576d1 Completed implementation of stats_mysql_errors
7 years ago
René Cannaò bc83d56063 Free dataset after INIT_CONNECT
7 years ago
René Cannaò e25a5bc26e Fix edge case
7 years ago
René Cannaò 3d3e11a972 Minor tuning on previous commit
7 years ago
René Cannaò ca48cb81c4 Revert autcommit to 1 if it is the first SELECT
7 years ago
René Cannaò a058d5cc9b Support for KILL command #860
7 years ago
René Cannaò 8f46da4d31 More debugging messages
7 years ago
René Cannaò 2bd4961b06 Abort if pthread_create fails #1768
7 years ago
René Cannaò 04e836a011 Support for autocommit=(true|false|on|off) #1758
7 years ago
René Cannaò 305a338268 Add input validation for password during login
7 years ago
René Cannaò 3335cde6c9 Add support for SET sql_mode = CONCAT(...)
8 years ago
René Cannaò 47bf5faff7 Second large commit to support LDAP
8 years ago
René Cannaò d96108123d Scheleton for LDAP support
8 years ago
René Cannaò f5a82235d9 Added more status variables to improve troubleshooting
8 years ago
René Cannaò d3a330fee4 Track number of generated errors and max connect timeout
8 years ago
Nick Vyzas 832aa48a4d
Merge pull request #1721 from sysown/v2.0.0-1528
8 years ago
René Cannaò 2e2b436e72 Further improvement on SET parser #1528
8 years ago
René Cannaò f666d40db2 Do not cache empty resultset, rule setting #1696
8 years ago
Brice Figureau fccef7f64e Parse multiple variable (simple) SET commands
8 years ago
René Cannaò c68d72aa37 Add new variable mysql-query_cache_stores_empty_result #1693
8 years ago
René Cannaò 8876e5e784 Kill backend connections using KILL when a client disconnects
8 years ago
René Cannaò a41693dfc5 Do not decrease count of used connection when connection was rejected #1626
8 years ago
Steven Hartland 496ac198cf Fixed STMT_SEND_LONG_DATA processing
8 years ago
René Cannaò 33bb5a95fa If a backend generates errors while running queries, implement the same logic of errors during connections.
8 years ago
Steven Shi 5b76f9c1fe cache purging request on query rule basis, issue #1013
8 years ago
René Cannaò 78c97ec579 Do not reset connections for error 1047 and 1053
8 years ago
René Cannaò 8095783088 Fix bug introduced in 2.0 about CHANGE_USER
8 years ago
René Cannaò 8c0eb73d51
Merge pull request #1543 from sysown/v2_149-commits
8 years ago
yuta-oxo dd0981bf95 Fix memory leaks
8 years ago
René Cannaò 3ce3abd1cf Try to send LAST_INSERT_ID to backend #1421
8 years ago
René Cannaò ab77b835b5 Improving fast_forward code, big performance boost
8 years ago
René Cannaò 60d7f7e92a Merge branch 'v2.0.0' of https://github.com/sysown/proxysql into v2.0.0
8 years ago
René Cannaò acf49f80b8 Fix a possible crash during backend shutdown
8 years ago
René Cannaò 553544d412 Better handling of SET statements from mysqldump
8 years ago
Nick Vyzas 54c9eb6db0
Merge branch 'v2.0.0' into v2.0.0
8 years ago
Nick Vyzas 5a0f9cedd7 Adding additional case
8 years ago
Nick Vyzas b06fd61d4e Added sqlstate code
8 years ago
Nick Vyzas a1a7997bdc Fixes crash on shutdown when connection is null
8 years ago
René Cannaò 3a4f11fe75 Prevent infinite loop in case of backend shutdown
8 years ago
René Cannaò ea706f3b0b Fix bug #1503
8 years ago
René Cannaò 6d5b5c7f29 Fix bug #1472
8 years ago
René Cannaò ba40804c1a Enforce mysql_users.use_ssl
8 years ago
René Cannaò 42a60b70f5 Fix bug #1063
8 years ago
Nick Vyzas b35665a727
Merge branch 'v2.0-lab' into v2.0-lab
8 years ago
René Cannaò 133a690e8d Reduce memory allocation
8 years ago
René Cannaò e3603de5d8 Remember if the current connection has an unknown transaction status
8 years ago
René Cannaò 7b3757a273 Remember if the current connection has an unknown transaction status
8 years ago
René Cannaò e003dcca72 Incorrect PS metadata was being erased. Possible fix for #1428
8 years ago
Nick Vyzas c4c2c3f38a
Increasing RW Lock in PROCESSING_STMT_PREPARE
8 years ago
René Cannaò c28d61561b Do not return a connection after STMT_PREPARE with no parameters #1432
8 years ago
René Cannaò df606f2c70 Added mysql variable reset_connection_algorithm
8 years ago
René Cannaò 2bb322db6f Several fixed in Prepared statements
8 years ago
René Cannaò d499722440 Include error 2000 as client error as assume the connection is broken
8 years ago
René Cannaò bfc2d5d3d0 Set default schema to "default" #1419
8 years ago
René Cannaò e949e7a569 Try to get from connection pool and connections cache, a connection with the same schemaname
8 years ago
Nikolaos Vyzas 7a2e27c361 Adding minor conflict resolution fixes
8 years ago
René Cannaò 52a1d8a8d9 Added experimental (not completed) support for SSL client side
8 years ago
René Cannaò 486e7c41f0 1st commit on SSL client side
8 years ago
René Cannaò a6291f1693 Further improvement for handling GTID
8 years ago
René Cannaò 3e59bdef2a Expanding stats_mysql_connection_pool
8 years ago
Nikolaos Vyzas 9f3c265fd9 Resolving conflicts for "Add support for GTID consistent reads"
8 years ago
René Cannaò 1d927381e9 First attempt to track GTID needed for #1208
8 years ago
Nikolaos Vyzas 7228f4e0de Merging changes and resolving conflicts related to MariaDB connector upgrade
8 years ago
René Cannaò ef783858a4 Handle case #1373
8 years ago
René Cannaò 7e95852986 Fix bug #1357 : incorrect parsing of SET NAMES ... COLLATE
8 years ago
René Cannaò 3520dbbacc Remove all references to PS handling before 1.4
8 years ago
René Cannaò 54b7487b2a Fix typo on previous commit
8 years ago
René Cannaò f414083ed4 Fix bug #1307 . Add lock when adding PS to cache
8 years ago
René Cannaò 6302628772 Data sent with STMT_SEND_LONG_DATA was lost #1283
8 years ago
René Cannaò f78139e55e Handle SET SQL_MODE and NAMES in same query #1279
8 years ago
René Cannaò d27327a003 Generate different stmt_id if clients ask for the same multiple times
8 years ago
René Cannaò 6fc08b3f3d Added variable mysql-verbose_query_error #1059 #1060
8 years ago
René Cannaò 58c7cd632a Code cleanup
8 years ago
René Cannaò 2dce7013df Added variable autocommit_false_is_transaction #1256
8 years ago
René Cannaò b8e490bcc2 Clean up query metadata when set autocommit fails #1257
8 years ago
René Cannaò 02d3c6ee75 Fix compiling issue on FreeBSD #1216
8 years ago
René Cannaò 44cc349a09 Merge branch 'v1.4.1-1034' into v1.4.4-bandwidth
8 years ago
René Cannaò 94f143e90c Merge branch 'v1.4.4' of https://github.com/sysown/proxysql into v1.4.4
8 years ago
René Cannaò 82be4c49d5 Setting stats_time_query_processor=false disables Query Processor
8 years ago
René Cannaò 83b2a2a463 Support for collations
9 years ago
Nick 66e87166c9 Adding IPv6 localhost support
9 years ago
René Cannaò 62180d7221 Do not send cursor for prepared statements #1128
9 years ago
René Cannaò b44e2c81bf Do not use autcommit from backend if set
9 years ago
René Cannaò 78fce2b0d4 Improvement on stats_mysql_query_digest #1100
9 years ago
René Cannaò 513df4f124 Do not use autcommit from backend if set
9 years ago
René Cannaò 225e1f15fc Minor protocol fixes
9 years ago
René Cannaò 59bac7f365 Reset PS metadata if they change
9 years ago
René Cannaò 0f4df84167 Fix bug #1194
9 years ago
René Cannaò 80bad8a811 Make cpu timers optional #1190
9 years ago
René Cannaò 46193a634c Further development of SQLite3 Server
9 years ago
René Cannaò 62898623df Add optional support for ClickHouse
9 years ago
René Cannaò a703a9172c Further implementation for ClickHouse
9 years ago
René Cannaò b57ff42b9c Drafting again support for ClickHouse
9 years ago
René Cannaò 983dc5d111 Second commit related to SQLite3_Server
9 years ago
René Cannaò b00878d3bd Introducing proxysql_session_type
9 years ago
René Cannaò a22eb8b395 No connection from pool for fast_forward #1157
9 years ago
René Cannaò 0598c0d0af Fix for bug #1160 : reset time_zone
9 years ago
René Cannaò 1bb87b584d Fix for bug #1160 : reset sql_mode
9 years ago
René Cannaò b211e9903f Merge branch 'v1.4.2-checksum' into v1.4.2
9 years ago
everpcpc 76dc9d886e
fix check autocommit false mistaken to true
9 years ago
René Cannaò 2a76f95e31 Further enhancement on Cluster
9 years ago