aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/MCPKit')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
index 7429e23a..8d70827d 100644
--- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
+++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
@@ -39,7 +39,7 @@
static jmp_buf pingTimeoutJumpLocation;
static void forcePingTimeout(int signalNumber);
-const unsigned int kMCPConnectionDefaultOption = CLIENT_COMPRESS;
+const unsigned int kMCPConnectionDefaultOption = CLIENT_COMPRESS | CLIENT_REMEMBER_OPTIONS ;
const char *kMCPConnectionDefaultSocket = MYSQL_UNIX_ADDR;
const unsigned int kMCPConnection_Not_Inited = 1000;
const unsigned int kLengthOfTruncationForLog = 100;
@@ -295,9 +295,6 @@ static BOOL sTruncateLongFieldInLogs = YES;
// detect when this has occurred. Custom reconnection may be preferable.
my_bool trueBool = TRUE;
mysql_options(mConnection, MYSQL_OPT_RECONNECT, &trueBool);
-
- // Ensure compression is enabled where possible
- mysql_options(mConnection, MYSQL_OPT_COMPRESS, 0);
}
// Set the host as appropriate