From 4341c2a1d270f7a6ede47616ddf79135bcd37cfd Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 12 Feb 2016 01:16:45 +0100 Subject: Fix for #2353 ("Attempted to connect a connection that is not disconnected") Backport of 3aadea1be33212ca50e7faffcd0620ea976f9d59 --- .../SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m') 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 { -- cgit v1.2.3