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 | |
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
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 2 | ||||
-rw-r--r-- | Source/SPConnectionControllerInitializer.m | 1 |
2 files changed, 2 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; diff --git a/Source/SPConnectionControllerInitializer.m b/Source/SPConnectionControllerInitializer.m index ee805594..081d07b1 100644 --- a/Source/SPConnectionControllerInitializer.m +++ b/Source/SPConnectionControllerInitializer.m @@ -37,6 +37,7 @@ static NSString *SPConnectionViewNibName = @"ConnectionView"; - (void)_reloadFavoritesViewData; - (void)_selectNode:(SPTreeNode *)node; +- (void)_scrollToSelectedNode; - (void)_restoreOutlineViewStateNode:(SPTreeNode *)node; - (SPTreeNode *)_favoriteNodeForFavoriteID:(NSInteger)favoriteID; |