Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
* 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
- Loading branch information
Showing
with
48 additions
and 69 deletions.
- +9 −4 Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Ping & KeepAlive.m
- +11 −45 Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Server Info.m
- +1 −0 Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h
- +20 −10 Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
- +1 −3 Source/SPFieldMapperController.m
- +6 −7 Source/SPServerSupport.m