diff options
author | Max <post@wickenrode.com> | 2015-10-04 04:16:10 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-10-04 04:16:10 +0200 |
commit | 5239e6df5961a475e9497d30a33f48bfd99e8e5b (patch) | |
tree | a496508ac9deba9f029070d9bcebaa6485c76054 /Frameworks | |
parent | a0641ac04022f8f6d35daa2f93d470b99494af12 (diff) | |
download | sequelpro-5239e6df5961a475e9497d30a33f48bfd99e8e5b.tar.gz sequelpro-5239e6df5961a475e9497d30a33f48bfd99e8e5b.tar.bz2 sequelpro-5239e6df5961a475e9497d30a33f48bfd99e8e5b.zip |
Add logging for a possible issue in Connection keepalive
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Ping & KeepAlive.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Ping & KeepAlive.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Ping & KeepAlive.m index e8338bb4..e43b4a2f 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Ping & KeepAlive.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Ping & KeepAlive.m @@ -80,6 +80,10 @@ */ - (void)_threadedKeepAlive { + if(keepAliveThread) { + NSLog(@"warning: overwriting existing keepAliveThread: %@, results may be unpredictable!",keepAliveThread); + } + keepAliveThread = [NSThread currentThread]; [keepAliveThread setName:@"SPMySQL connection keepalive monitor thread"]; |