diff options
author | Max <post@wickenrode.com> | 2016-02-12 01:16:45 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2016-02-12 01:16:45 +0100 |
commit | 4341c2a1d270f7a6ede47616ddf79135bcd37cfd (patch) | |
tree | d9bdb052369815e196c7daec7f68940ae2f889e5 /Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m | |
parent | e168cbf3a71d244bb32fbe3904da7d47d2b668db (diff) | |
download | sequelpro-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.m | 3 |
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 { |