diff options
author | rowanbeentje <rowan@beent.je> | 2012-05-10 22:32:20 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-05-10 22:32:20 +0000 |
commit | 388a71f4bcb6d89bb0d39bfd3a637e69163fc9e1 (patch) | |
tree | 7a2fda19bd8ed5eb8a66621c2cfec0abda8c2d00 /Frameworks/SPMySQLFramework | |
parent | 874a0b71c468118ca1337d61d93f84455cd7f65b (diff) | |
download | sequelpro-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')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 2 |
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; |