aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-10-31 02:54:59 +0100
committerMax <post@wickenrode.com>2015-10-31 02:54:59 +0100
commit2f2aafb4f5675282a37d16dce96027706096df40 (patch)
tree288d91f15322a88eb4335d13bf2c3832108d1313 /Frameworks/SPMySQLFramework
parent57955871fb174eefc56dfedcd8222d2e68272ca5 (diff)
downloadsequelpro-2f2aafb4f5675282a37d16dce96027706096df40.tar.gz
sequelpro-2f2aafb4f5675282a37d16dce96027706096df40.tar.bz2
sequelpro-2f2aafb4f5675282a37d16dce96027706096df40.zip
* Basic math is hard sometimes (fixes an issue introduced by me in b2d798ba9282d3acf1a2d65de30849e529d4d255)
* Fix an exception that could occur when trying to view a damaged table * Fix a theoretical use-after-free issue by a wrongly structured retain/release in a setter
Diffstat (limited to 'Frameworks/SPMySQLFramework')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
index 01410eb5..5925d138 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
@@ -87,7 +87,7 @@
{
unsigned long myver = aMajorVersion * 10000 + aMinorVersion * 100 + aReleaseVersion;
- return (myver >= serverVersionNumber);
+ return (serverVersionNumber >= myver);
}
#pragma mark -