Commit Graph

28 Commits

Author SHA1 Message Date
Ansgar Becker
a3aae38d2e Do not add UTF-8 BOM headers to written files, they are not needed in most cases, and break other tools from reading them, e.g. mysqldump. See http://www.heidisql.com/forum.php?t=4622 2009-12-08 23:51:43 +00:00
Ansgar Becker
680bbcf0ac Automatically remove AUTO_INCREMENT=x clause from CREATE TABLE statement for SQL export. Fixes issue #1110. 2009-11-30 22:42:08 +00:00
Ansgar Becker
30b970c92b Implement bulk table editing in table tools dialog. Fixes issue #576 2009-11-28 19:51:57 +00:00
Ansgar Becker
aa5063ca22 Auto create needed directories if they don't yet exist in directory mode of SQL export. Fixes issue #745. 2009-11-22 23:50:54 +00:00
Ansgar Becker
e5113a4260 Fix unquoted enum and set values in SQL export. 2009-11-22 23:48:28 +00:00
Ansgar Becker
c15b1e4b43 Add a second column to the checkbox tree to display sizes of tables, like it is in Mainform.DBtree 2009-11-21 07:45:25 +00:00
Ansgar Becker
c667008483 Performance: Avoid one last empty and useless SELECT query 2009-11-19 20:11:30 +00:00
Ansgar Becker
8fbc923828 Format numbers in result log in regional format 2009-11-19 19:51:36 +00:00
Ansgar Becker
786c5becfd Remove design time caption from target items combo box, so the very first call of this dialog does not show "comboExportOutputTarget". 2009-11-19 19:31:12 +00:00
Ansgar Becker
c0a9b63f98 Fix fetching binary field data. Fixes issue #1478 2009-11-18 23:59:52 +00:00
Ansgar Becker
aaec4c991d Reimplement server to server exporting in table tools dialog. This time without the need of having two windows open. Instead, all saved sessions are selectable via pulldown. While exporting we open a temporary connection to the target server - no problem with the new simple database layer. Fixes issue #1434. 2009-11-18 20:42:49 +00:00
Ansgar Becker
871ccab71c Views have to be exported at the very end so importing such a file does not fail if a view points to a later created table. See issue #281. 2009-11-17 00:15:38 +00:00
Ansgar Becker
1984d426d6 Reorganize code in table tools so the code paths get slightly simpler:
* Move code from ProcessTableNode() into Execute()
* Consistently use one procedure per maintenance and find mode like it's already for export mode
2009-11-16 23:49:51 +00:00
Ansgar Becker
d99f85c412 Fix error in logging current row number and calculating the progress percentage. 2009-11-16 19:40:38 +00:00
Ansgar Becker
65923f1f6f Fix fatal memory leak - selected table rows were never discarded while exporting SQL. 2009-11-16 19:33:46 +00:00
Ansgar Becker
ef5fbe225a Rewrite export to SQL dialog and code. Integrate that into the table tools dialog, let it use the nice checkbox tree and make exporting lighting fast.
* Fixes issue #886 (broken CREATE TABLE)
* Fixes issue #608 (full backup)
* Fixes issue #281 (export views)
* Fixes issue #307 (header in directory mode)
2009-11-16 01:24:49 +00:00
Ansgar Becker
e6eb2e529a Auto scroll to first checked db or table node in table tools dialog, so it's visible immediately. 2009-11-12 22:37:57 +00:00
Ansgar Becker
12a8e2ebc5 Implement a more lightweight connection layer, consisting of 2 units in source directory. Breaks threading and window to window communication, which should be reimplemented later. 2009-10-28 00:08:49 +00:00
Ansgar Becker
0790c125f4 Only check selected table node(s) in table tools tree, if table(s) were right clicked. Check db node if that db was right clicked. Fixes issue #1362. 2009-10-17 11:17:59 +00:00
Ansgar Becker
3209cd9d8b Minor: missing changes for previous commit. In-memory changes were not saved yet. 2009-09-17 23:05:41 +00:00
Ansgar Becker
60beacc049 Implement a second tab on the table tools dialog: "Find text on server". Scans all tables with OR'd LIKE clauses for a given text. User can restrict that search to a data type category (integer, text, etc.). Fixes issue #529. 2009-09-17 23:00:29 +00:00
Ansgar Becker
e764c41867 Fix disabled "CHANGED" option for CHECK TABLE operation 2009-09-15 18:50:02 +00:00
Ansgar Becker
86031234ac When a db node gets checked, its not yet initialized children are unchecked - fix that. 2009-09-15 18:47:27 +00:00
Ansgar Becker
ab3cf3c586 Bugfix: When both QUICK and EXTENDED options were checked in CHECK mode, a switch to CHECKSUM mode didn't uncheck one of the options like it's needed, as they're mutually exclusive for CHECKSUM. 2009-09-15 18:28:44 +00:00
Ansgar Becker
31e52f4df1 When a db node in the table tools tree has "mixed" state and it contains unaddressable stored routines, it is impossible to change the db node's check state. Fix that by removing checkboxes for stored routines. 2009-09-15 18:20:55 +00:00
Ansgar Becker
6e66726e79 Fix "List index out of bounds", when the table tools dialog is called the second time, and some databases were deleted or filtered. 2009-09-15 17:57:04 +00:00
Ansgar Becker
658aab45c6 Temporary workaround to make the maintenance results work on servers with the notorious binary collation bug. How to add a workaround without breaking Unicode results here?? 2009-09-14 20:39:36 +00:00
Ansgar Becker
e0796b153f Refactor maintenance dialog:
* Replace checklist box by a virtual tree with checkboxes
* Make "Maintenance" a single tab on a TPageControl, so there may follow other tools (e.g. issue #529)
* Replace button layout by a combobox
* Add "CHECKSUM" operation and various options
2009-09-14 00:09:03 +00:00