| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
field. Fixes exception http://spbug.com/l/100.
|
| |
|
|
|
|
| |
Fixes exception http://spbug.com/l/164.
|
|
|
|
| |
and disable OK button if it does.
|
|
|
|
|
| |
Added the to be copied/renamed database name to the name input sheet. Added necessary outlets. Added the current db name as preset value in the rename input field.
Renamed databaseNewSheet to databaseCopySheet and copyOnlyStructureButton to copyDatabaseDataButton and inverted behaviour of the button.
|
| |
|
|
|
|
| |
provided
|
|
|
|
| |
successful. Caused an existing DB to be selected, after ren/dup failed because it exists.
|
|
|
|
| |
getTableWindow method; removed the latter
|
|
|
|
| |
for message sheets. It could have caused messages appearing in the wrong window.
|
|
|
|
| |
DatabaseActions classes, thus reducing code duplicates.
|
| |
|
|
|
|
| |
sheet by checking the returnCode of the sheet.
|
|
|
|
| |
properties.
|
|
|
|
| |
running the run loop after disconnection to flush calls
|
|
|
|
|
|
|
|
|
| |
* minor restructuring of SPTableCopy for readability and debuggability
* corrected wrong default copyright header on some files
* SPCopyTableTest: removed testCopyTableFromTo since it is integrated in
testCopyTableFromToWithData;
* SPCopyTableTest: fixed test to reflect two queries table creation (show
create and create) instead of create like (<4.1 compatibility)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Details as follows:
* altered MCPConnection listTablesFromDB:like: to return NSArray
* altered MCPConnection listFieldsFromTable:like: to use backtick quoted
strings for table and fieldnames
* added MCPConnection listTablesFromDB for a complete table list
* added SPStringAdditions.h to various files to prevent warnings
* added sheets for duplicate/rename DB in DBView.xib
* added duplicate/rename menu items to MainMenu.xib
* added outlets in TableDocument: databaseNewSheet databaseRenameSheet
databaseCopyNameField databaseRenameNameField copyOnlyStructureButton
copyDatabaseButton renameDatabaseButton
* added methods in TableDocument: getConnection, copyDatabase, renameDatabase,
_copyDatabase, _renameDatabase
* added OCMock Framework for object mocking in tests
* added group Others/DatabaseActions
|
|
|
|
| |
the schema privileges tab. Fixes issue #648.
|
|
|
|
| |
process list. Fixes http://spbug.com/l/152.
|
|
|
|
| |
issue #647.
|
|
|
|
| |
increased separation of the writing thread. This results in a up-to 1.2x faster MySQL dump for fast servers, and makes SPFileHandle faster than NSFileHandle for writing data (either directly or GZIP compressed).
|
|
|
|
| |
of them.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
application upon termination with the result being written to /tmp.
To enable call setDumpLeaksOnTermination on SPLogger.
Note, that SPLogger has been restructed to accommodate calling this method without writing the additional log file to the user's desktop. Could probably be enhanced a bit by someone with better C skills than me.
|
|
|
|
|
|
|
|
|
|
| |
- MCPKit's listProcesses (mysql_list_processes) method is now used, instead of running the query ourselves.
- The ability to set whether or not the list is auto refreshed.
- The ability to set the autorefresh interval, either via the presets or by entering a custom value (the interface for this might need updating).
- Get the process list is now performed on a background thread.
This completes the implementation of issue #607.
|
|
|
|
|
|
| |
- Make a tiny fix to narrow down completion to avoid memory overrelease issues
- Unhide the "Show create view syntax" menu and contextual menu items when selecting a view
|
|
|
|
| |
addresses http://spbug.com/643 , and should also fix race condition crashes caused by the timer firing on a closed thread.
|
|
|
|
| |
source method. Fixes exception http://spbug.com/l/146.
|
|
|
|
| |
connection as well as only displaying dialogs when there is a window visible. Fixes http://spbug.com/l/113.
|
|
|
|
| |
locally, to fix further crashes like http://spbug.com/l/139 .
|
|
|
|
|
|
|
| |
windows are closed. This also allows SPNarrowDownCompletion to be closed when CMTextView is deallocated; this should fix http://spbug.com/l/139 .
- Fix some minor memory leaks
|
| |
|
| |
|
| |
|
|
|
|
| |
is set to prevent multiple calls everytime the list of available storange engines, etc. is requested.
|
|
|
|
| |
http://spbug.com/l/137
|
| |
|
|
|
|
| |
connection view would select the wrong favourite in the preferences because sorting has been applied to the table view.
|
|
|
|
| |
addresses http://spbug.com/l/133 .
|
|
|
|
| |
last row in the table
|
|
|
|
|
| |
- update row count after pressing escape when editing a new row
|
|
|
|
| |
whitespace (as before) or brackets, semicolons, mathematical symbols, or commas
|
|
|
|
|
|
|
|
| |
standardise current view-commit-checks to use that
- Add checking of that status to history navigation (fixing http://spbug.com/l/127 ) and window closing (fixing http://spbug.com/lr/263 )
- Improve thread safety/deferred actions in TableContent
|
|
|
|
| |
overrelease on crash, by moving from automatic/inherited window management for the task spinner to fully managed. This addresses http://spbug.com/l/4 .
|
|
|
|
| |
compression setting has been saved as on
|
|
|
|
| |
http://spbugs.com/l/120
|
|
|
|
|
|
|
|
| |
safe. From now on, always use [self lockConnection] rather than [queryLock lock], independent of what thread you are running on
- A warning is written to the console when the connection is unlocked multiple times (to identify potential race conditions)
- modified MCPStreamingResult to ensure it only closes the connection once
- added a check to prevent arrow key navigation past the last row
|