diff options
author | rowanbeentje <rowan@beent.je> | 2012-03-14 01:50:43 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-03-14 01:50:43 +0000 |
commit | a9f95273a69035e6be8249a42322350df695870f (patch) | |
tree | 32084c4b0947ad7a8c17fa79445a13464c712d44 /Frameworks/SPMySQLFramework | |
parent | 79eff5bf42154da8d7730e0e0159160f68ec4e16 (diff) | |
download | sequelpro-a9f95273a69035e6be8249a42322350df695870f.tar.gz sequelpro-a9f95273a69035e6be8249a42322350df695870f.tar.bz2 sequelpro-a9f95273a69035e6be8249a42322350df695870f.zip |
SPMySQL integration bugfixes:
- Fix a bug where the socket path would not be autodetected if an empty string was supplied
- Fix a bug fetching primary key column names for tables
- Fix a bug building database structures on MySQL 3.x servers
Diffstat (limited to 'Frameworks/SPMySQLFramework')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m index 4f1e8a74..6308a3f5 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m @@ -656,7 +656,7 @@ const char *SPMySQLSSLPermissibleCiphers = "DHE-RSA-AES256-SHA:AES256-SHA:DHE-RS // If set to use a socket and a socket was supplied, use it; otherwise, search for a socket to use if (useSocket) { - if (socketPath) { + if ([socketPath length]) { theSocket = [self _cStringForString:socketPath]; } else { theSocket = [self _cStringForString:[SPMySQLConnection findSocketPath]]; |