aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-10-02 17:04:07 +0200
committerMax <post@wickenrode.com>2015-10-02 17:04:07 +0200
commitf38ffcb95896ddf3774d30d0c64d8a57139b4ec6 (patch)
tree216747087624b18b8de275b4d8332fed8bb9e29a /Frameworks/SPMySQLFramework/Source
parent9233309f6d40c1aacd12088821beef5029b7a60c (diff)
downloadsequelpro-f38ffcb95896ddf3774d30d0c64d8a57139b4ec6.tar.gz
sequelpro-f38ffcb95896ddf3774d30d0c64d8a57139b4ec6.tar.bz2
sequelpro-f38ffcb95896ddf3774d30d0c64d8a57139b4ec6.zip
Add some debug code for another crash that has been happening lately
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
index 48f4fc1e..1b7ec58e 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
@@ -313,7 +313,7 @@
theSqlstate = [self _stringForCString:mysql_sqlstate(mySQLConnection)];
// Prevent retries if the query was cancelled or not a connection error
- if (lastQueryWasCancelled || ![SPMySQLConnection isErrorIDConnectionError:mysql_errno(mySQLConnection)]) {
+ if (lastQueryWasCancelled || ![SPMySQLConnection isErrorIDConnectionError:theErrorID]) {
break;
}
}