Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Internal Refactoring: Move MySQL Help viewer into own xib with own controller | Max | 2018-05-27 | 1 | -0/+1 |
| | |||||
* | 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 | 4 | -0/+330 |
| | |||||
* | Reapply changes from rolled back commit that are common to master and ↵ | Max | 2018-02-28 | 2 | -15/+10 |
| | | | | | | callback-auth branches This includes 3a944d7867c750c29e02e2619d72694bdbfb0b2a, 770c18901f82696d1233e0139e9bb3c4fbbcb90b, ca864a1f887feaf7ac6d35eeb55b265f3e630a09 | ||||
* | Manually roll back all changes for #2979 | Max | 2018-02-27 | 6 | -195/+31 |
| | | | | 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 | 3 | -30/+79 |
| | |||||
* | #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 |
| | |||||
* | 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 | 2 | -17/+69 |
| | | | | | * 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) | ||||
* | 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. | ||||
* | 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. | ||||
* | 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 | ||||
* | 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... | ||||
* | * 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 | 2 | -1/+5 |
| | |||||
* | 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* | ||||
* | This change will either reduce the amount of crashes or increase the amount ↵ | Max | 2015-10-17 | 1 | -0/+3 |
| | | | | of beachballing. In the latter case please file an issue. | ||||
* | Minor change | Max | 2015-10-17 | 3 | -17/+21 |
| | |||||
* | Move a mysql_affected_rows() to see how the 0x338 crash behaves (#2258) | Max | 2015-10-08 | 1 | -1/+7 |
| | |||||
* | Add a few more unit tests to SPMySQL | Max | 2015-10-04 | 1 | -1/+1 |
| | |||||
* | Remove a duplicate @interface and prepare some functions for unit testing | Max | 2015-10-04 | 4 | -25/+19 |
| | |||||
* | Add logging for a possible issue in Connection keepalive | Max | 2015-10-04 | 1 | -0/+4 |
| | |||||
* | Add some debug code for another crash that has been happening lately | Max | 2015-10-02 | 1 | -1/+1 |
| |