diff options
author | Max <post@wickenrode.com> | 2016-01-15 16:07:41 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2016-01-15 16:07:41 +0100 |
commit | 3aadea1be33212ca50e7faffcd0620ea976f9d59 (patch) | |
tree | e76a4747bf1c3f82bc037990bf84e3f13062601e /Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h | |
parent | 953392263e32da9bba3e36a23b661b13a9f6fa56 (diff) | |
download | sequelpro-3aadea1be33212ca50e7faffcd0620ea976f9d59.tar.gz sequelpro-3aadea1be33212ca50e7faffcd0620ea976f9d59.tar.bz2 sequelpro-3aadea1be33212ca50e7faffcd0620ea976f9d59.zip |
Try to fix what could be the cause of #2353 ("Attempted to connect a connection that is not disconnected")
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h index 844a6b5f..8ec6c9e0 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h @@ -49,6 +49,9 @@ * mysql_shutdown() - If the user has the permission, will shutdown the (remote) server * @return Whether the command was executed successfully * Note: this can also be NO if the user denied a reconnect attempt. + * + * WARNING: This method may return NO if the current thread is cancelled! + * You MUST check the isCancelled flag before using the result! */ - (BOOL)serverShutdown; |