aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-06-19 18:15:13 +0000
committerrowanbeentje <rowan@beent.je>2011-06-19 18:15:13 +0000
commit751eef37cdfdb7b45ff199dd1fadd00bf02d5d6c (patch)
tree4aaef16ad9f7d2656ceabf775c4b568a26589f10 /Frameworks/MCPKit
parentff6ce898511a7ce6507cbc719f8ebc593a559562 (diff)
downloadsequelpro-751eef37cdfdb7b45ff199dd1fadd00bf02d5d6c.tar.gz
sequelpro-751eef37cdfdb7b45ff199dd1fadd00bf02d5d6c.tar.bz2
sequelpro-751eef37cdfdb7b45ff199dd1fadd00bf02d5d6c.zip
- Ensure the connection delegate is nil on initialisation
Diffstat (limited to 'Frameworks/MCPKit')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
index 0e403eaf..3d0ee5ab 100644
--- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
+++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
@@ -166,7 +166,8 @@ static BOOL sTruncateLongFieldInLogs = YES;
lastQueryErrorId = 0;
lastQueryErrorMessage = nil;
lastQueryAffectedRows = 0;
- lastPingSuccess = NO;
+ lastPingSuccess = NO;
+ delegate = nil;
delegateSupportsConnectionLostDecisions = NO;
delegateResponseToWillQueryString = NO;