aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-10-30 01:41:01 +0100
committerMax <post@wickenrode.com>2015-10-30 01:41:01 +0100
commitb2d798ba9282d3acf1a2d65de30849e529d4d255 (patch)
tree3d1efd017e3e6ef85a524b8d30c362ac02885885 /Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h
parent2b2a177e7adceabadd451c0dca300b30f14aebb2 (diff)
downloadsequelpro-b2d798ba9282d3acf1a2d65de30849e529d4d255.tar.gz
sequelpro-b2d798ba9282d3acf1a2d65de30849e529d4d255.tar.bz2
sequelpro-b2d798ba9282d3acf1a2d65de30849e529d4d255.zip
* Lock connection during disconnect to prevent some race conditions
* Always use the server version name provided by mysql_get_server_info() as that should me more reliable * Use mysql_get_server_version() for version comparisons. Less code, official API and closer to what mysql does
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h
index 444e8dff..6a3a1013 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h
@@ -99,6 +99,7 @@
// Server details
NSString *serverVariableVersion;
+ unsigned long serverVersionNumber;
// Error state for the last query or connection state
NSUInteger queryErrorID;