aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2016-01-15 16:07:41 +0100
committerMax <post@wickenrode.com>2016-01-15 16:07:41 +0100
commit3aadea1be33212ca50e7faffcd0620ea976f9d59 (patch)
treee76a4747bf1c3f82bc037990bf84e3f13062601e /Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.h
parent953392263e32da9bba3e36a23b661b13a9f6fa56 (diff)
downloadsequelpro-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.h3
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;