297 Commits

Author SHA1 Message Date
61f95c8239 Issue #178: add database and table filter boxes to table tools dialog - same as on main form 2024-02-10 10:18:32 +01:00
b8d587647b SQL export dialog: cut long file list down to 20 latest items 2024-02-04 11:14:48 +01:00
f3ce46af4d Update VirtualTrees component code to release v7.6.6 from Jan 12 2024 2024-01-29 15:00:26 +01:00
8507c85d19 Enhance readability of focused text in result grid using dark styles. TreeOptions.PaintOptions.toGhostedIfUnfocused grays out text otherwise. See https://www.heidisql.com/forum.php?t=41458 2023-11-11 15:02:01 +01:00
d722bfed68 Issue #752: leave away misleading comment for VIEW in second export pass 2023-10-31 17:46:01 +01:00
a3f99e4f0f SQL export: do DROP VIEW/TABLE/... only in first export pass, not even in the second one where we convert tables to views. In the second pass the original view is definitely dropped and DROP VIEW on the temp table generates an "xyz is not view" error on MySQL 8. Closes #752 . 2023-10-31 17:10:16 +01:00
05a3e5df9a Update VirtualTrees component code to release v7.6.5a 2023-10-15 11:19:09 +02:00
86a8840cc0 Introduce TClipboardHelper.TryAsText, suppressing crashes when the OS blocks access to the clipboard. Replaces my previous GetClipboardAsText implementation. 2023-10-10 07:12:15 +02:00
d28d03b6dd Highlight active tab of most page controls, by adding greyscale icons to image list and using these for all inactive tabs. See https://www.heidisql.com/forum.php?t=41323 2023-10-03 13:34:28 +02:00
587c88e574 Translation fixes: remove various unused strings, fix some wrong spelled strings, add some missing strings 2023-09-10 14:22:52 +02:00
d9d1f26278 Auto detect need to create HTML clipboard header, remove CreateHTMLHeader parameter from StreamToClipboard() 2023-04-06 08:07:58 +02:00
082574d340 Support canceling SQL export before a table's data has been completed. Closes #1516 2023-02-27 19:44:59 +01:00
695a26eaf3 Ensure max INSERT setting is an Int64, so a huge value does not wrap into a negative value. See https://www.heidisql.com/forum.php?t=40393 2023-02-27 19:40:13 +01:00
d96daa80b1 Issue #1738: revert recent VirtualTrees update, back on master branch from 2022-06-18. Could not get query threads to work in 64 bit mode. 2022-12-31 11:26:24 +01:00
ae883a0a80 Include some System.Generics.* units without using project's unit scopes or aliases 2022-12-29 17:59:23 +01:00
84221a747b Update VirtualTree component to release v7.6.3 2022-12-29 12:01:26 +01:00
0d9de512cd Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance. 2022-12-26 17:59:19 +01:00
889a1b33c7 SQL export: Calculate a reasonable LIMIT clause when "Get full table status" session setting is disabled, causing AvgRowLen<=0. See https://www.heidisql.com/forum.php?t=40058 2022-12-04 20:17:51 +01:00
f33ccc708f Fix wrong finish message in log result, when doing something different than an export. See https://www.heidisql.com/forum.php?t=39913 2022-11-14 19:45:01 +01:00
56a7218705 Add log message after finished export, to make it more noticeable the user has control again. See https://www.heidisql.com/forum.php?t=39913 2022-10-31 17:26:14 +01:00
965e88b579 Delphi 11.1: fix VirtualTree package files, fix missing uses clauses, and some newly required type casts 2022-06-18 18:08:00 +02:00
ddc634c5d2 Auto-fit result columns when compressing export file has finished. Closes #1617 2022-06-09 20:14:04 +02:00
9ec40f0703 When deleting tab backup file, delete it to recycle bin, for cases where the user did that by accident. Same for snippet file and overwritten export/zip file. See https://www.heidisql.com/forum.php?t=39355 2022-06-08 19:25:33 +02:00
25d15d8b41 Optimization: set up a single TSynMemo instance instead of all, e.g. when creating a new query tab 2022-05-25 13:16:27 +02:00
be7a697733 Fix crash when SQL export fails to create output directory, cancel operation in that case 2022-03-27 09:04:39 +02:00
d46716ff2e Issue #1503: reactivate DPI awareness, and try to read/write component dimensions DPI independently 2021-12-26 13:06:24 +01:00
c23e5d3731 Fix generating mysqldump cli argument --databases with --tab 2021-10-17 11:50:58 +02:00
535940872f SQL export: don't generate ALTER TABLE..DISABLE/ENABLE KEYS for InnoDB tables, which don't support that, generating a notice instead. Closes #1185 2021-10-17 11:46:36 +02:00
fc60303a58 Issue #1457: fix missing SET TIME_ZONE.. on export target server 2021-10-08 07:21:12 +02:00
a469d89227 Issue #1169: give items in TDBDatatypeIndex a different prefix (dt => dbdt), to fix a conflict with those from Delphi's database components 2021-06-26 17:44:50 +02:00
ed28bcbf6f SQL export: Add popup menu action for copying mysqldump command line 2021-06-25 08:56:18 +02:00
ee69a049fd Set TIME_ZONE system variable for reading as well, not only for the export output. See https://www.heidisql.com/forum.php?t=38078 2021-06-25 07:38:52 +02:00
2ea193992c Reset timezone in SQL exports to zero offset, to be independent from local date/times. See https://www.heidisql.com/forum.php?t=38078 2021-06-23 21:21:39 +02:00
cb1024b048 Fix more potential theme related EAccessViolation's, due to Action:=caFree in OnClose event of modal forms. Their caller now frees these modal forms. In non-modal forms, keep caFree in OnClose but remove existing OnDestroy events, moving code to OnClose instead.
https://www.heidisql.com/forum.php?t=38043
https://stackoverflow.com/questions/2075405/how-to-close-non-modal-form-in-delphi
2021-06-22 20:37:34 +02:00
28d25e3334 Revert a144466e7137f1c33c39c231dbeb4cd98dfc4ffa : query exact row count from tables and views. See https://www.heidisql.com/forum.php?t=37983 2021-06-10 07:42:50 +02:00
a144466e71 Experimental: query exact row count from tables and views, in data tab and table tools 2021-06-03 09:27:13 +02:00
dd38ba4f6f Code cosmetic: rename implodestr() to Implode() 2021-06-03 08:32:06 +02:00
b5449c055d Table tools: auto-fit column widths with each result grid update, and show execution time in main status bar 2021-05-20 22:34:16 +02:00
cdc8481471 First attempt to manipulate the CREATE table code in SQL exports when source is a MySQL server and target is MariaDB. This just removes the incompatible "COLLATE xyz" clause from virtual varchar columns. 2021-05-12 18:16:21 +02:00
5b86687f2c Database search feature: prefer a normal log line for tables with no matching data type, so the "Found rows" column has a number, to fix wrong sorting 2021-03-12 09:10:04 +01:00
8ab0fa1fa0 Auto-create directory path specified in SQL export target filename. Closes #1086 2020-12-19 08:48:33 +01:00
281a53b88a Limit rows per exported INSERT to 1000 for MSSQL. Introduced MaxRowsPerInsert property per connection type. 10000 for all other types. Closes #1189 2020-12-17 11:43:29 +01:00
c09d93e642 Prevent "Variable 'sql_notes' can't be set to the value of 'NULL'", via IFNULL() wrap. Saw that in the crash reports with the latest release. Related to issue #756. 2020-12-13 14:18:12 +01:00
fc9320b8cd Remove old workaround for exporting between MySQL 4 and 5, where the TYPE/ENGINE clause is incompatible between source and target server. This breaks exporting identifiers with these keywords in them. Closes #1222 2020-11-17 17:51:54 +01:00
26869dc27a Issue #807: add SQL editor in "Find on server" dialog, to support complex comparisons e.g. on binary values without quotes "=0xaa00" 2020-10-24 18:13:40 +02:00
349045066f Set SQL_NOTES to 0 in SQL export, to silence warnings due to unsupported "ALTER TABLE .. DISABLE/ENABLE KEYS" on InnoDB tables. Closes #756 2020-10-22 12:28:31 +02:00
f8e4b35a7f Make "USE xyz" query dependent on the target server system, when exporting data to another server. Fixes incompatible SQL for PostgreSQL, and most probably for SQLite. See https://www.heidisql.com/forum.php?t=36231 2020-10-15 18:50:27 +02:00
f2af43f1e0 Fix all 11 compiler hints and 5 warnings 2020-08-06 13:49:32 +02:00
7abc1d1f67 Prefer ILIKE over LIKE operator on PostgreSQL servers, for auto-generated queries, to overcome errors with double columns. See https://www.heidisql.com/forum.php?t=36500 2020-07-02 14:00:36 +02:00
3eb3480e1c Get rid of global esc() function (which always refers to MainForm.ActiveConnection) and prefer the method's or unit's connection object instead 2020-05-10 13:41:15 +02:00