Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove hardcoded capabilities that the client uses
These hardcoded capabilities end up being set on all backend connections ProxySQL makes. We don't want CLIENT_MULTI_RESULTS & CLIENT_PS_MULTI_RESULTS to be enabled hardcoded, but they should be dependent on the client connecting to ProxySQL. Having this mismatch meant that any connection that was not setting these flags would not be multiplexed with subsequent connections as the client of client flags would not match.
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- include/mariadb_com.h.old 2019-08-16 10:31:33.982265001 +0000 | ||
+++ include/mariadb_com.h 2019-08-16 10:32:03.048790998 +0000 | ||
@@ -206,8 +206,6 @@ | ||
CLIENT_LONG_FLAG |\ | ||
CLIENT_TRANSACTIONS |\ | ||
CLIENT_SECURE_CONNECTION |\ | ||
- CLIENT_MULTI_RESULTS | \ | ||
- CLIENT_PS_MULTI_RESULTS |\ | ||
CLIENT_PROTOCOL_41 |\ | ||
CLIENT_PLUGIN_AUTH |\ | ||
CLIENT_SESSION_TRACKING |\ |