From a0dd563f044459fa497794bbcd5041fa8e47f613 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 12 May 2012 14:59:40 +0000 Subject: - Fix incorrect reconnection detection in the new SPMySQL reconnection code paths, improving general connection robustness in recent builds --- Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Frameworks/SPMySQLFramework') diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m index 64c19ae3..26276bda 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m @@ -720,6 +720,7 @@ const char *SPMySQLSSLPermissibleCiphers = "DHE-RSA-AES256-SHA:AES256-SHA:DHE-RS // If the reconnection succeeded, restore the connection state as appropriate if (state == SPMySQLConnected) { + reconnectSucceeded = YES; if (databaseToRestore) { [self selectDatabase:databaseToRestore]; [databaseToRestore release], databaseToRestore = nil; -- cgit v1.2.3