aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework
Commit message (Collapse)AuthorAgeFilesLines
* Internal Refactoring: Move MySQL Help viewer into own xib with own controllerMax2018-05-271-0/+1
|
* Add support for NO_BACKSLASH_ESCAPES sql_mode during SQL import (#3005)Max2018-05-211-0/+2
|
* Add method to query mysql->server_status (part of #3005)Max2018-05-203-0/+62
|
* Fix a warning on 10.6 about memory leaksMax2018-05-191-31/+33
|
* Replace all non-cyclic NSAutoreleasepools with @autoreleasepoolMax2018-05-034-329/+320
|
* * More formatting changesMax2018-05-0223-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 changesMax2018-04-2913-41/+55
| | | | * Fixed a memory leak in CF code
* Move 4 misplaced filesMax2018-02-285-4/+4
|
* Reapply changes from rolled back commit that are common to master and ↵Max2018-02-285-16/+28
| | | | | | callback-auth branches This includes 3a944d7867c750c29e02e2619d72694bdbfb0b2a, 770c18901f82696d1233e0139e9bb3c4fbbcb90b, ca864a1f887feaf7ac6d35eeb55b265f3e630a09
* Manually roll back all changes for #2979Max2018-02-2714-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 fileMax2018-02-254-30/+84
|
* #2979, #2437, #2247, #1836: Enable mysql cleartext auth without access to ↵Max2018-02-243-2/+28
| | | | keychain and with a warning to the user
* #2979: Rename a method, because it is no longer limited to keychainMax2018-02-232-5/+5
|
* Remove some (near-)duplicate codeMax2018-02-211-11/+4
|
* Next step in the #2979 experimentMax2018-02-182-17/+36
|
* Overlooked that mysql will attempt auth twice for any nonstandard pluginMax Lohrmann2018-02-162-6/+21
|
* Restore support for Mac OS X < 10.9 that broke in the previous commitMax2018-02-141-2/+27
|
* Experiment with #2979Max Lohrmann2018-02-149-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 ↵Max2017-11-021-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 Lohrmann2017-05-222-2/+8
| | | | | | 10.12+, while 10.6+ was intended (Also adapted the build script)
* SPMySQL will now enforce SSL connections when requested (#2499)Max Lohrmann2017-05-211-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 Lohrmann2017-05-216-5/+41
|
* Move a struct from heap to stack, since the caller will outlive its callees ↵Max2017-05-141-8/+9
| | | | anyway
* Expand a lock in the connection keepalive code, because it still allowed a ↵Max2017-05-111-2/+19
| | | | zombie call
* Fix some issues with charset handling during connectMax2017-05-024-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 fileMax2017-04-011-2/+0
|
* Fix file links.Stuart Connolly2017-03-261-2/+8
|
* Fix a race condition in debug code that could lead to accessing a freed objectMax2017-03-101-3/+7
|
* * Turn `-[SPMySQLConnection checkConnectionIfNecessary]` into a public ↵Max2017-03-095-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 pingingMax2017-03-092-3/+8
|
* Workaround for an exception when connecting to MySQL 8.0 (#2699)Max2017-02-231-0/+1
|
* Change the way max_allowed_packet detection worksMax Lohrmann2017-01-252-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 Connolly2017-01-143-69/+69
|
* Make Max Packet Size detection more robust (issue with recent sphinx ↵Max2017-01-101-10/+11
| | | | versions) #2653
* Add possible socket locations for MariaDB via MacPorts.Sebastian Volland2016-08-301-3/+5
| | | | Also rename Darwinports to MacPorts in comments.
* Fix one erroneous method callMax2016-07-211-1/+1
| | | | Not sure if that may has been causing issues for some users...
* Added shared scheme for SPMySQL FrameworkMarius Ursache2016-02-291-0/+99
|
* Updated SPMySQL Framework SettingsMarius Ursache2016-02-293-3/+12
|
* * Change a while() to do while; to help code analysisMax2016-02-182-4/+6
| | | | * Add log message (possibly related to #2258)
* Add another fallback for charset detection (which might improve ↵Max2016-02-061-1/+18
| | | | compatibility with Sphinx)
* Fix a rare crash due to calling a NULL method pointer (#2390)Max2016-02-011-4/+4
|
* Try to fix what could be the cause of #2353 ("Attempted to connect a ↵Max2016-01-154-1/+24
| | | | connection that is not disconnected")
* Add more debug info for "Attempted to connect a connection that is not ↵Max2016-01-132-3/+26
| | | | disconnected" crash (#2353)
* Another attempt at the 0x338 crash (#2258)Max2016-01-131-1/+1
|
* Fix wrong charset mapping for "latin1"Max2015-11-191-3/+3
|
* Add basic support for JSON type (part of #2199)Max2015-11-155-2/+12
|
* In order to enable even more people to shoot themselves in the foot, this ↵Max2015-11-122-0/+24
| | | | | | commit adds support for remote server shutdown 💣
* * Basic math is hard sometimes (fixes an issue introduced by me in ↵Max2015-10-311-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 callsMax2015-10-305-12/+17
|
* * Lock connection during disconnect to prevent some race conditionsMax2015-10-304-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