aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2016-02-12 01:16:45 +0100
committerMax <post@wickenrode.com>2016-02-12 01:16:45 +0100
commit4341c2a1d270f7a6ede47616ddf79135bcd37cfd (patch)
treed9bdb052369815e196c7daec7f68940ae2f889e5 /Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
parente168cbf3a71d244bb32fbe3904da7d47d2b668db (diff)
downloadsequelpro-4341c2a1d270f7a6ede47616ddf79135bcd37cfd.tar.gz
sequelpro-4341c2a1d270f7a6ede47616ddf79135bcd37cfd.tar.bz2
sequelpro-4341c2a1d270f7a6ede47616ddf79135bcd37cfd.zip
Fix for #2353 ("Attempted to connect a connection that is not disconnected")release-1.1.1-rc1
Backport of 3aadea1be33212ca50e7faffcd0620ea976f9d59
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
index c9bf0bfd..74d40c6a 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
@@ -124,6 +124,9 @@
* the resulting process list defaults to the short form; run a manual SHOW FULL PROCESSLIST
* to retrieve tasks in non-truncated form.
* Returns nil on error.
+ *
+ * WARNING: This method may return nil if the current thread is cancelled!
+ * You MUST check the isCancelled flag before using the result!
*/
- (SPMySQLResult *)listProcesses
{