diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableDocument.m | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 8302f553..c3a5b3da 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -2024,7 +2024,7 @@ #pragma mark MCPKit connection delegate methods /** - * Invoked when framework is about to perform a query. + * Invoked when the framework is about to perform a query. */ - (void)willQueryString:(NSString *)query connection:(id)connection { @@ -2034,7 +2034,7 @@ } /** - * Invoked when the query just executed resulted in an error. + * Invoked when the query just executed by the framework resulted in an error. */ - (void)queryGaveError:(NSString *)error connection:(id)connection { @@ -2042,6 +2042,24 @@ } /** + * Invoked when the framework is in the process of reconnecting to the server and needs to know + * which database to select. + */ +- (NSString *)onReconnectShouldSelectDatabase:(id)connection +{ + return selectedDatabase; +} + +/** + * Invoked when the framework is in the process of reconnecting to the server and needs to know + * what encoding to use for the connection. + */ +- (NSString *)onReconnectShouldUseEncoding:(id)connection +{ + return _encoding; +} + +/** * Invoked when the current connection needs a password from the Keychain. */ - (NSString *)keychainPasswordForConnection:(MCPConnection *)connection |