aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableTriggers.h
Commit message (Collapse)AuthorAgeFilesLines
* - Improve trigger adding and editing, re-opening the add/edit trigger ↵rowanbeentje2012-11-081-6/+2
| | | | | | | | window if a trigger can't be saved so that new statements can be fixed - Fix editing of triggres failing when some MySQL versions append nul bytes to the statement results - Retain the edited trigger details to fix crashes on 10.8
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-13/+21
|
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-5/+3
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* - Add the ability to double-click in empty areas of the main tableviews to ↵rowanbeentje2011-04-251-1/+3
| | | | add new rows/records
* - Revert r3187, which only masked an underlying bug and caused double ↵rowanbeentje2011-02-111-0/+1
| | | | | | | | | columns in views - In SPTableStructureDelete, don't request the encoding if the table is reloading; this prevents multithreaded data fetches and race conditions causing Issue #974. - Alter SPTableData to use thread mutexes instead of a boolean to prevent threading issues, which also fixes Issue #974 in a different way. Alter race condition checks to block their threads instead of returning bogus information to prevent state issues. - Alter table loading to no longer load trigger information until required, speeding up use of other views and cleaning up the console log.
* Tidy up.stuconnolly2010-10-191-10/+0
|
* Replace use of hardcoded strings with constants when working with trigger data.stuconnolly2010-10-191-0/+11
|
* Add a 'Edit Trigger' menu item to the trigger's table view context menu.stuconnolly2010-10-191-1/+1
|
* Because the process of editing a trigger involves droping and then ↵stuconnolly2010-10-191-0/+4
| | | | re-creating it, if an error occurs when attempting to re-create it remember to then re-create the original one. Fixes issue #795.
* Added support for edit triggers. Doubleclick on a row and the Add trigger ↵bamse162010-07-111-0/+4
| | | | | | | | | | | | | | pops up with all the fields prepopulated. Edit works as 'DROP' old trigger and then 'CREATE' new trigger (since MySQL doesn't have support for 'ALTER' trigger). In case of error while adding the new trigger, when you add a new trigger, all the info from the original trigger is preserved. (Don't know if this is the best solution).
* Initial implementation of tabs:rowanbeentje2010-05-231-1/+0
| | | | | | | | - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
* Review trigger fetching and storage:rowanbeentje2010-05-011-0/+2
| | | | | | | - Trigger queries are no longer made for MySQL < 5.0.2 - Trigger loading has been deferred until the trigger tab is active, reducing queries when switching tables and thus increasing overall responsiveness - Export triggers in MySQL dumps even if the Table Content switch is unchecked
* Add support for printing the table triggers view as well some HTML ↵stuconnolly2010-03-131-0/+3
| | | | generation performance improvements.
* Disable the addition of triggers on versions of MySQL less than 5.0.2 when ↵stuconnolly2010-02-071-0/+5
| | | | support for them was initially added.
* Complete the implementation of the management of table triggers (accessible ↵stuconnolly2010-02-061-20/+17
| | | | via Cmd+6). Note, that better support for entering the trigger statement in terms of escaping and delimiter support most likely needs to be added.
* Added preliminary support for triggers. You can access the tab via the bamse162010-01-311-0/+69
menu item View > Table Triggers (apple-6). Heavily copied from Relations tab, lots of functionality missing. Just lists the triggers for the table now. M Source/SPTableData.m M Source/SPConstants.h M Source/SPConstants.m A Source/SPTableTriggers.h A Source/SPTableTriggers.m M Source/TableDocument.h M Source/TableDocument.m M Source/SPTableData.h M Interfaces/English.lproj/MainMenu.xib M Interfaces/English.lproj/DBView.xib M sequel-pro.xcodeproj/project.pbxproj