Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for NO_BACKSLASH_ESCAPES sql_mode during SQL import (#3005) | Max | 2018-05-21 | 1 | -0/+2 |
| | |||||
* | Add method to query mysql->server_status (part of #3005) | Max | 2018-05-20 | 3 | -0/+62 |
| | |||||
* | Fix a warning on 10.6 about memory leaks | Max | 2018-05-19 | 1 | -31/+33 |
| | |||||
* | Replace all non-cyclic NSAutoreleasepools with @autoreleasepool | Max | 2018-05-03 | 4 | -329/+320 |
| | |||||
* | * More formatting changes | Max | 2018-05-02 | 23 | -327/+260 |
| | | | | | | * Fix an unintended switch/case fallthrough (the error got caught soon afterwards, so this never really caused problems) * Fix a typo in the mysql fallback charset mappings (119 should’ve been 199) * Fix a charset confusion issue (SPMySQL’s compiled-in C strings are in UTF-8, not the connection encoding of the mysql connection) | ||||
* | * Formatting and minor code changes | Max | 2018-04-29 | 13 | -41/+55 |
| | | | | * Fixed a memory leak in CF code | ||||
* | Move 4 misplaced files | Max | 2018-02-28 | 5 | -4/+4 |
| | |||||
* | Reapply changes from rolled back commit that are common to master and ↵ | Max | 2018-02-28 | 5 | -16/+28 |
| | | | | | | callback-auth branches This includes 3a944d7867c750c29e02e2619d72694bdbfb0b2a, 770c18901f82696d1233e0139e9bb3c4fbbcb90b, ca864a1f887feaf7ac6d35eeb55b265f3e630a09 | ||||
* | Manually roll back all changes for #2979 | Max | 2018-02-27 | 14 | -343/+34 |
| | | | | Those will be moved to a different branch for the time being since other stuff needs to be changed first | ||||
* | Move utility function ot a different file | Max | 2018-02-25 | 4 | -30/+84 |
| | |||||
* | #2979, #2437, #2247, #1836: Enable mysql cleartext auth without access to ↵ | Max | 2018-02-24 | 3 | -2/+28 |
| | | | | keychain and with a warning to the user | ||||
* | #2979: Rename a method, because it is no longer limited to keychain | Max | 2018-02-23 | 2 | -5/+5 |
| | |||||
* | Remove some (near-)duplicate code | Max | 2018-02-21 | 1 | -11/+4 |
| | |||||
* | Next step in the #2979 experiment | Max | 2018-02-18 | 2 | -17/+36 |
| | |||||
* | Overlooked that mysql will attempt auth twice for any nonstandard plugin | Max Lohrmann | 2018-02-16 | 2 | -6/+21 |
| | |||||
* | Restore support for Mac OS X < 10.9 that broke in the previous commit | Max | 2018-02-14 | 1 | -2/+27 |
| | |||||
* | Experiment with #2979 | Max Lohrmann | 2018-02-14 | 9 | -20/+197 |
| | | | | | * Updated libmysqlclient from 5.5.56 -> 5.5.59 * Changed the way the connection password is passed between SPMySQL and libmysqlclient | ||||
* | Swap two lines of code so that if a connection attempt is cancelled, SP does ↵ | Max | 2017-11-02 | 1 | -2/+2 |
| | | | | not try to open another connection to cancel the pending connection (#2909) | ||||
* | Because of a change in CMake the updated libmysqlclient was only runnable on ↵ | Max Lohrmann | 2017-05-22 | 2 | -2/+8 |
| | | | | | | 10.12+, while 10.6+ was intended (Also adapted the build script) | ||||
* | SPMySQL will now enforce SSL connections when requested (#2499) | Max Lohrmann | 2017-05-21 | 1 | -0/+19 |
| | | | | Previously we could only *request* SSL, but if the server didn’t support it, libmysqlclient would go ahead anyway. This is fixed in MySQL 5.5.55. | ||||
* | Update MySQL client to 5.5.56 (was 5.5.42) | Max Lohrmann | 2017-05-21 | 6 | -5/+41 |
| | |||||
* | Move a struct from heap to stack, since the caller will outlive its callees ↵ | Max | 2017-05-14 | 1 | -8/+9 |
| | | | | anyway | ||||
* | Expand a lock in the connection keepalive code, because it still allowed a ↵ | Max | 2017-05-11 | 1 | -2/+19 |
| | | | | zombie call | ||||
* | Fix some issues with charset handling during connect | Max | 2017-05-02 | 4 | -24/+81 |
| | | | | | | | * hostname and file paths are places where libmysqlclient ultimately only passes the string to an OS library so we should use whatever charset the OS expects, not mysql * Even though _makeRawMySQLConnectionWithEncoding:isMasterConnection: takes an explicit charset argument most of the conversion logic simply used whatever charset the existing connection currently has, which is not neccesarily the one the new connection should use * Add some remarks about the charset handling with passwords and mysql_error() * Charsets do not apply to sqlstate. | ||||
* | Silly README file, you can’t be a source code file | Max | 2017-04-01 | 1 | -2/+0 |
| | |||||
* | Fix file links. | Stuart Connolly | 2017-03-26 | 1 | -2/+8 |
| | |||||
* | Fix a race condition in debug code that could lead to accessing a freed object | Max | 2017-03-10 | 1 | -3/+7 |
| | |||||
* | * Turn `-[SPMySQLConnection checkConnectionIfNecessary]` into a public ↵ | Max | 2017-03-09 | 5 | -34/+36 |
| | | | | | | method, since it is actually the preferable way to `-[SPMySQLConnection checkConnection]` (which forces network IO in a new thread each time) * Change `-[SPDatabaseStructure queryDbStructureWithUserInfo:]` doing a forced connection check inside a tight loop (#2306) | ||||
* | Add a bit of debug info in Connection pinging | Max | 2017-03-09 | 2 | -3/+8 |
| | |||||
* | Workaround for an exception when connecting to MySQL 8.0 (#2699) | Max | 2017-02-23 | 1 | -0/+1 |
| | |||||
* | Change the way max_allowed_packet detection works | Max Lohrmann | 2017-01-25 | 2 | -24/+43 |
| | | | | Sequel Pro will now simply go with whatever query returns a valid result instead of trying to guess the correct query from the server version number | ||||
* | Add license file and switch to readme to Markdown. | Stuart Connolly | 2017-01-14 | 3 | -69/+69 |
| | |||||
* | Make Max Packet Size detection more robust (issue with recent sphinx ↵ | Max | 2017-01-10 | 1 | -10/+11 |
| | | | | versions) #2653 | ||||
* | Add possible socket locations for MariaDB via MacPorts. | Sebastian Volland | 2016-08-30 | 1 | -3/+5 |
| | | | | Also rename Darwinports to MacPorts in comments. | ||||
* | Fix one erroneous method call | Max | 2016-07-21 | 1 | -1/+1 |
| | | | | Not sure if that may has been causing issues for some users... | ||||
* | Added shared scheme for SPMySQL Framework | Marius Ursache | 2016-02-29 | 1 | -0/+99 |
| | |||||
* | Updated SPMySQL Framework Settings | Marius Ursache | 2016-02-29 | 3 | -3/+12 |
| | |||||
* | * Change a while() to do while; to help code analysis | Max | 2016-02-18 | 2 | -4/+6 |
| | | | | * Add log message (possibly related to #2258) | ||||
* | Add another fallback for charset detection (which might improve ↵ | Max | 2016-02-06 | 1 | -1/+18 |
| | | | | compatibility with Sphinx) | ||||
* | Fix a rare crash due to calling a NULL method pointer (#2390) | Max | 2016-02-01 | 1 | -4/+4 |
| | |||||
* | Try to fix what could be the cause of #2353 ("Attempted to connect a ↵ | Max | 2016-01-15 | 4 | -1/+24 |
| | | | | connection that is not disconnected") | ||||
* | Add more debug info for "Attempted to connect a connection that is not ↵ | Max | 2016-01-13 | 2 | -3/+26 |
| | | | | disconnected" crash (#2353) | ||||
* | Another attempt at the 0x338 crash (#2258) | Max | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | Fix wrong charset mapping for "latin1" | Max | 2015-11-19 | 1 | -3/+3 |
| | |||||
* | Add basic support for JSON type (part of #2199) | Max | 2015-11-15 | 5 | -2/+12 |
| | |||||
* | In order to enable even more people to shoot themselves in the foot, this ↵ | Max | 2015-11-12 | 2 | -0/+24 |
| | | | | | | commit adds support for remote server shutdown 💣 | ||||
* | * Basic math is hard sometimes (fixes an issue introduced by me in ↵ | Max | 2015-10-31 | 1 | -1/+1 |
| | | | | | | | 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 | ||||
* | * Add a wrapper method for 3 repeatetly used calls | Max | 2015-10-30 | 5 | -12/+17 |
| | |||||
* | * Lock connection during disconnect to prevent some race conditions | Max | 2015-10-30 | 4 | -59/+41 |
| | | | | | * 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 | ||||
* | * Remove some ivars that are only used as local vars | Max | 2015-10-26 | 4 | -11/+9 |
| | | | | * Also I take back what I said about 4d97cbd4df1ebb451d89d6c4e12dd7c622d00b84 and say it will happen now *duckundweg* |