diff options
author | rowanbeentje <rowan@beent.je> | 2012-05-12 14:59:40 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-05-12 14:59:40 +0000 |
commit | a0dd563f044459fa497794bbcd5041fa8e47f613 (patch) | |
tree | c1c13f3e50e4dc3f2afa5542fc83204ceac11bb8 /Frameworks/SPMySQLFramework/Source | |
parent | fd06b32111ab5dca228913c3ee8bb2cd3dbd2403 (diff) | |
download | sequelpro-a0dd563f044459fa497794bbcd5041fa8e47f613.tar.gz sequelpro-a0dd563f044459fa497794bbcd5041fa8e47f613.tar.bz2 sequelpro-a0dd563f044459fa497794bbcd5041fa8e47f613.zip |
- Fix incorrect reconnection detection in the new SPMySQL reconnection code paths, improving general connection robustness in recent builds
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 1 |
1 files changed, 1 insertions, 0 deletions
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; |