diff options
author | Max <post@wickenrode.com> | 2015-07-30 00:13:22 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-07-30 00:13:22 +0200 |
commit | 291078f1c4c28e5a2c69358a8aa9883862717e36 (patch) | |
tree | 154ef565031ed3fa93f6780d1eac4dc8045e372d /Source/SPConnectionHandler.m | |
parent | 26c821cf128255e89a6ff15f98891dbff1fc3840 (diff) | |
download | sequelpro-291078f1c4c28e5a2c69358a8aa9883862717e36.tar.gz sequelpro-291078f1c4c28e5a2c69358a8aa9883862717e36.tar.bz2 sequelpro-291078f1c4c28e5a2c69358a8aa9883862717e36.zip |
Add code to disable mysql protocol compression (no UI) to connect to Amazon Aurora (see #2122)
Diffstat (limited to 'Source/SPConnectionHandler.m')
-rw-r--r-- | Source/SPConnectionHandler.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPConnectionHandler.m b/Source/SPConnectionHandler.m index aeb4eb36..d27e9a1a 100644 --- a/Source/SPConnectionHandler.m +++ b/Source/SPConnectionHandler.m @@ -157,6 +157,9 @@ static NSString *SPLocalhostAddress = @"127.0.0.1"; } } + if(![self useCompression]) + [mySQLConnection removeClientFlags:SPMySQLClientFlagCompression]; + // Connection delegate must be set before actual connection attempt is made [mySQLConnection setDelegate:dbDocument]; |