aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQL Private APIs.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-04-18 23:59:05 +0000
committerrowanbeentje <rowan@beent.je>2012-04-18 23:59:05 +0000
commit497ab60346e74927fb7980734799d1e57af541d5 (patch)
treee215d8c61002e1869759a47c6f344f5e9a729221 /Frameworks/SPMySQLFramework/Source/SPMySQL Private APIs.h
parentec277286b0200cf5c36c4bb2ef11cb5fd9b31a67 (diff)
downloadsequelpro-497ab60346e74927fb7980734799d1e57af541d5.tar.gz
sequelpro-497ab60346e74927fb7980734799d1e57af541d5.tar.bz2
sequelpro-497ab60346e74927fb7980734799d1e57af541d5.zip
- Correctly call mysql_library_init() on application start, and mysql_thread_init() and mysql_thread_end() on each thread as appropriate. This will improve observed MySQL stability, especially in certain circumstances such as LOAD DATA INFILE.
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQL Private APIs.h')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQL Private APIs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQL Private APIs.h b/Frameworks/SPMySQLFramework/Source/SPMySQL Private APIs.h
index 5772eb72..ee7f6039 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQL Private APIs.h
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQL Private APIs.h
@@ -39,7 +39,6 @@
#import "Locking.h"
#import "Conversion.h"
-
@interface SPMySQLConnection (PrivateAPI)
- (MYSQL *)_makeRawMySQLConnectionWithEncoding:(NSString *)encodingName isMasterConnection:(BOOL)isMaster;
@@ -47,6 +46,8 @@
- (void)_updateConnectionVariables;
- (void)_restoreConnectionVariables;
- (BOOL)_checkConnectionIfNecessary;
+- (void)_validateThreadSetup;
++ (void)_removeThreadVariables:(NSNotification *)aNotification;
@end