Commit Graph

7499 Commits (42400a1e8a18d6dfcd6572dcc267cc668c59cb86)
 

Author SHA1 Message Date
Rahim Kanji 42400a1e8a Commented multi_pkt code
10 months ago
Rahim Kanji 47a6dfc6de Added TAP test
10 months ago
Rahim Kanji 9e4b76d6d1 * Refactored PgSQL_Session::handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___PGSQL_QUERY_qpo.
10 months ago
Rahim Kanji 4c832a9694 Updated TAP test
10 months ago
Rahim Kanji 0bb5747291 Add Query Rewrite support for Extended Query Protocol
10 months ago
Rahim Kanji dd1d231d51 TAP: Use correct pgsql username and password
10 months ago
Rahim Kanji 2d569f3b95 Added support to terminate running queries on timeout
10 months ago
Rahim Kanji 58eac30ff3 Fixed SSL STATUS in PgSQL_Data_Stream
11 months ago
Rahim Kanji ff653b2b4e Added TAP test
11 months ago
Rahim Kanji f715c546fa Added prepared statement map and connection status fields to PROXYSQL INTERNAL SESSION output
11 months ago
Rahim Kanji 4d3dc7b7e3 Fixed DISCARD ALL tag
11 months ago
Rahim Kanji 0ddc6e9b93 * Implemented status tracking for LOCK TABLE and pg_advisory_xact_lock, with automatic reset on transaction end
11 months ago
Rahim Kanji 27f1fed446 Handled DISCARD ALL, DISCARD PLANS, send rest of the varients to backend
11 months ago
Rahim Kanji a29eaf1eb2 Moved warning_in_hg from Base_Session to MySQL_Session
11 months ago
Rahim Kanji 8021121cfa Fixed PgSQL_Session::handler___status_NONE_or_default
11 months ago
Rahim Kanji 4d195adc89 Renamed Multiplex status from MYSQL to PGSQL
11 months ago
Rahim Kanji 441504190d Moved sess_STMTs_meta and SLDH from Base_Session to MySQL_Session
11 months ago
Rahim Kanji acef968c63 Added DEALLOCATE test
11 months ago
Rahim Kanji 070d4ca18d Added DEALLOCATE <stmt_name> and DEALLOCATE ALL support
11 months ago
Rahim Kanji 099597d2d8 Added client_close_all
11 months ago
Rahim Kanji bfc1484923 Added SET statement tracking tests
11 months ago
Rahim Kanji 02eb58db79 Added SET statement tracking support
11 months ago
Rahim Kanji ce94a7080a Merge branch v3.0_session_param_reset_connection into v3.0_extended_query_protocol
11 months ago
Rahim Kanji 249b3d8725 * Replace C-style array with std::array in PgSQL_Connection
11 months ago
Rahim Kanji 50243ef283 Corrected RESET/DEFAULT logic
11 months ago
Rahim Kanji 1bcd09044b Refactor Connection Reset Handling
11 months ago
Rahim Kanji 5e30bef674 Few fixes
11 months ago
Rahim Kanji 344ba25777 Add Watchdog PROXYSQLTEST covering MySQL and PgSQL threads
11 months ago
Rahim Kanji e4c0f5ccd8 Refactored Watchdog and integrated PostgreSQL thread monitoring into its loop.
11 months ago
Rahim Kanji 28931cd00d * Replaced malloc with std::vector for safer memory management.
11 months ago
Rahim Kanji 3619fa5d21 Added pgsql-max_stmts_per_connection variable
11 months ago
Rahim Kanji 3b47a295d6 Updated TAP test
11 months ago
Rahim Kanji 7c71fe1a05 Prevent overwrite of named statements
11 months ago
Rahim Kanji 98fbc9e513 Updated TAP test
11 months ago
Rahim Kanji 87ce0d0a51 Added support for protocol level parameter type
11 months ago
Rahim Kanji 4ebff4c0cc Added support for protocol-supplied (out-of-band) parameter typing (argument-based)
11 months ago
Rahim Kanji a8a2799187 Improved locks
11 months ago
Rahim Kanji 703a5f35f5 Added stats_pgsql_prepared_statements_info table
11 months ago
Rahim Kanji dd1c7441f3 * Use C++17 if-initializers for map lookups
11 months ago
Rahim Kanji b989fc2bad Refined Bind Message parameter format, value handling, and result format iterator
11 months ago
Rahim Kanji 06383750b3 Fixed SonarQube warnings where applicable
11 months ago
Rahim Kanji 59cf46d752 Extended Query is now a supported feature
11 months ago
Rahim Kanji 759cda1782 Added TAP test
11 months ago
Rahim Kanji 5123b6abbc This is a minimal PostgreSQL client intended >> only for testing or experimentation <<
11 months ago
Rahim Kanji bc87d0d901 * For a Describe Portal message, peek at the next message in the extended query frame. If it is an Execute message, indicating that client is sending a Bind/Describe/Execute sequence
11 months ago
René Cannaò 431fda06b4
Merge pull request #5007 from zuofei/fix-mysql-logging
11 months ago
René Cannaò 87f8355684
Merge pull request #5006 from sysown/v3.0-4976
11 months ago
René Cannaò b78e8e2d17
Merge pull request #5037 from sysown/v3.0_qp_mem_leak_fix
11 months ago
Rahim Kanji ef2b0cb1ed Corrected advancement of current pointer
11 months ago
Rahim Kanji 8655ff8e0d Cleanup
11 months ago