aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseData.m
Commit message (Collapse)AuthorAgeFilesLines
* • avoid querying the server for `information_schema` table for MySQL ↵Bibiko2010-01-061-4/+7
| | | | version < 5 - this speeds up SP esp. for slow connections
* - Ensure all results for server variable requests are returned as strings, ↵rowanbeentje2010-01-031-0/+1
| | | | | | | to avoid binary-mode result issues with certain versions of MySQL (including 4.1.14). This should address Issue #509. - TableDocument now requests the server version string from MCPConnection, aiding caching
* - Fix display of the bottom row in the query console by reloading table ↵rowanbeentje2009-12-021-26/+15
| | | | | | | | data *after* the scroll - Quote timestamp and connection when copying rows from the table console - Reduce queries when fetching database collations or encodings by removing an additional check and adapting logic to match
* Faster loop approach.stuconnolly2009-11-011-4/+2
|
* When checking the existance of the ENGINES table within the ↵stuconnolly2009-11-011-2/+2
| | | | information_schema database, use its exact name case-wise, to avoid problems on case sensitive filesystems (i.e. linux).
* • added to hard-coded encoding list the DESCRIPTION fieldBibiko2009-09-081-170/+173
| | | | | | | | | | | | • fixed issue while retrieving possible encodings/collations from information_schema - in many cases "SHOW TABLES IN information_schema LIKE 'character_sets'" returns NULL whereby "SELECT * FROM `information_schema`.`character_sets`" returns the correct list - change the test query to the latter syntax - if the retrieving of possible encodings fails return an array of the hard-coded list with dictionaries containing the keys for name AND description -- [this fix solves i400 due to the fact that the chosen encoding title from the popup list must be of the format: "description (name)"; otherwise the following regexp returns (null) because it's looking for the content of parentheses]
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-8/+6
| | | | | | | | | | | | | | | - Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project. - All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information. - All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult. - Framework includes MySQL 5.1.36 client libraries and source headers. - Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary. - All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>. - New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage. Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes. Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
* Remove the dependency on information_schema for table encodings.stuconnolly2009-07-201-1/+19
|
* Include a hard coded list of encodings and collations in SPDatabaseData to ↵stuconnolly2009-07-201-6/+200
| | | | remove the depdendency on the information_schema database when its not available or accessible.
* Accommodate all MySQL versions when getting the list of storage engines.stuconnolly2009-06-191-4/+73
|
* Forgot to add !, removed for testing.stuconnolly2009-05-271-1/+1
|
* Log query errors in SPDatabaseData to the console.stuconnolly2009-05-271-2/+2
|
* Redesigned table information pane.stuconnolly2009-05-271-0/+176