aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-05-10 22:32:20 +0000
committerrowanbeentje <rowan@beent.je>2012-05-10 22:32:20 +0000
commit388a71f4bcb6d89bb0d39bfd3a637e69163fc9e1 (patch)
tree7a2fda19bd8ed5eb8a66621c2cfec0abda8c2d00 /Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
parent874a0b71c468118ca1337d61d93f84455cd7f65b (diff)
downloadsequelpro-388a71f4bcb6d89bb0d39bfd3a637e69163fc9e1.tar.gz
sequelpro-388a71f4bcb6d89bb0d39bfd3a637e69163fc9e1.tar.bz2
sequelpro-388a71f4bcb6d89bb0d39bfd3a637e69163fc9e1.zip
- Fix a build warning caused by r3649 changes
- Improve debug to catch a structure connection issue
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
index f48bc2d3..64c19ae3 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
@@ -249,7 +249,7 @@ const char *SPMySQLSSLPermissibleCiphers = "DHE-RSA-AES256-SHA:AES256-SHA:DHE-RS
// If a connection is already active in some form, throw an exception
if (state != SPMySQLDisconnected && state != SPMySQLConnectionLostInBackground) {
- [NSException raise:NSInternalInconsistencyException format:@"Attempted to connect a connection that is not disconnected."];
+ [NSException raise:NSInternalInconsistencyException format:@"Attempted to connect a connection that is not disconnected (%d).", state];
return NO;
}
state = SPMySQLConnecting;