Commit Graph

5344 Commits

Author SHA1 Message Date
Ansgar Becker
1981afdf3b Issue #120: Allow unsupported ADODB providers per registry hack 2020-06-24 07:30:43 +02:00
Ansgar Becker
c7c07aab92 Issue #350: change startup queries for MySQL:
* SELECT NOW() => SELECT CURRENT_TIMESTAMP, which should be working for ProxySQL, as well as downward for MySQL 4.1
* SHOW STATUS => just see if that runs and show errors in the console, the only vital variable we use here is FServerUptime
2020-06-17 16:48:23 +02:00
Ansgar Becker
9ffae88c5d Issue #350: make detection of "proxy admin module" more exact 2020-06-17 15:16:14 +02:00
Ansgar Becker
3d27baf1c3 Issue #350: move first call to Connection.GetThreadId to DoAfterConnect, where we have the ServerVersion string, which in turn we can use for disabling SELECT CONNECTION_ID() 2020-06-17 14:59:13 +02:00
Ansgar Becker
33ec74d20f Get latest bugfixes for VirtualTrees component, especially this one: https://github.com/JAM-Software/Virtual-TreeView/issues/975 2020-06-14 08:16:48 +02:00
Ansgar Becker
59b7ddc3f4 Configure TortoiseGit's bugtraq url for log messages 2020-06-14 08:13:46 +02:00
Ansgar Becker
1ec2b439a1 Issue #444: get quick filter items in "More values" working again without crash 2020-06-14 07:58:17 +02:00
Ansgar Becker
e3f8b1a5b1 Play "Error" sound when executed file(s) had errors. See https://www.heidisql.com/forum.php?t=12800
Also, cancel execution of further files when user presses the cancel button
2020-06-13 11:15:08 +02:00
Ansgar Becker
9fdbfe919e Add informative message in log panel after running SQL files, and play a short "OK" sound. This should probably be an "Error" sound when the file(s) had errors. See https://www.heidisql.com/forum.php?t=12800 2020-06-13 10:42:47 +02:00
Ansgar Becker
0c55993fe1 Issue #338: reuse progress animation dialog when running multiple SQL files, and fix several focus stealing issues 2020-06-11 12:42:51 +02:00
Ansgar Becker
79d29660c7 Update modified VCL styles from Delphi 10.4 2020-06-09 18:37:15 +02:00
Ansgar Becker
1da3075a27 Forgotten file in previous commit (automatic "ImageName" addition) 2020-06-08 16:25:10 +02:00
Ansgar Becker
3182107aff Automatic form additions, done by the new IDE: "ImageName". Related to #1052 2020-06-07 20:11:24 +02:00
Ansgar Becker
407db4db81 Set new property ImageNameAvailable in virtual imagelist to false, so icons can still be found after switching to a non default icon set. Fixes toolbar without icons with Silk icons. Closes #1052 2020-06-07 20:04:32 +02:00
Ansgar Becker
91beb04149 Fix project group for new folder names 2020-06-07 19:09:57 +02:00
Ansgar Becker
c07593e703 Move to Delphi 10.4 Sydney 2020-06-07 15:27:08 +02:00
Ansgar Becker
e251a0b4f8 Report portable environment in statistics call 2020-06-07 12:35:53 +02:00
Ansgar Becker
714301679d Show tree lines in database tree, which may be helpful for a better overview 2020-06-06 13:35:29 +02:00
Ansgar Becker
32f399a5e0 Fix non-ghosted icons in database tree, temporarily in VirtualTrees.Utils.pas. The right place for that fix would be in TVirtualImageList.DoDraw. Closes #1045 2020-06-06 13:13:46 +02:00
Ansgar Becker
96c16f18a6 Safety assignment for connection otherwise created by command line. See https://stackoverflow.com/questions/21168998/why-does-assigned-return-true-for-uninitialized-variables 2020-06-04 21:20:52 +02:00
Ansgar Becker
43a114c2cf Try to disable styles for madExcept window. Related to #887 2020-06-04 07:51:49 +02:00
Ansgar Becker
0fa8f90199 Sync latest modifications from official SynEdit component sources 2020-06-04 07:20:32 +02:00
Ansgar Becker
4b4ed875f2 Update VirtualTree component to their current master state 2020-05-30 18:47:35 +02:00
Ansgar Becker
c9135bd9d0 Issue #293: make warning threshold for number of grid rows customizable, in preferences dialog, on grid formatting tab 2020-05-30 09:10:23 +02:00
Ansgar Becker
0339a09699 Issue #293: prevent long sort operation on header click in large query results 2020-05-30 08:30:07 +02:00
Ansgar Becker
94a90bb35e Auto-reset style to default if selected one does not exist 2020-05-22 12:30:38 +02:00
Ansgar Becker
15075689b5 Remove nearly unused style packages, and keep the 9 used by more than 100 users last month. Reduces executable size by ~2.5M, and speeds up start up time significantly. 2020-05-21 23:01:03 +02:00
Ansgar Becker
bca5270966 Report OS mode in statistics call 2020-05-21 22:34:01 +02:00
Ansgar Becker
900e0dd119 Cast relpages to bigint, preventing out-of-range SQL error in PostgreSQL. Closes #1038 2020-05-20 12:12:02 +02:00
Ansgar Becker
407d5ad3ed Issue #1028: Code cosmetic in TDBObject.GetTableColumns 2020-05-14 20:57:38 +02:00
Ansgar Becker
6026d364ec Issue #1028: Optimize unused code in TDBConnection.GetDbObjects away, which looked for cached object lists which specific OnlyNodeType property, which we don't cache anyway 2020-05-14 20:51:00 +02:00
Ansgar Becker
b45070e8c8 Issue #1028: Fix one-time recursion in TMySQLConnection.FetchDbObjects, caused by accessing InformationSchemaObjects, which in turn calls GetDBObjects and then again FetchDbObjects. More dramatically, this caused GetTableColumns to do an endless loop with two cache entries for "information_schema". This also fixes many of the v11.0 crashes in TAppSettings.PrepareRegistry, which were just a symptom of that endless loop. Thanks to als2020 on Github for pointing me in this direction. 2020-05-14 20:45:33 +02:00
Ansgar Becker
7fbf88bebc Optimize SQL query in TDBConnection.GetTableForeignKeys. See https://www.heidisql.com/forum.php?t=36212 2020-05-14 19:36:21 +02:00
Ansgar Becker
67b2f8194a Extend exception message with useful folder variable, in TAppSettings.PrepareRegistry, which I saw several times now in user reports, last time here: https://github.com/HeidiSQL/HeidiSQL/issues/1028#issuecomment-628131074 2020-05-13 20:57:53 +02:00
Ansgar Becker
afe3342168 Reset session variables cache on database change, so "collation_database" is refreshed for creating a new table. Closes #1030 2020-05-13 08:10:05 +02:00
Ansgar Becker
883c5287e6 Issue #1028: Compatibility to old MySQL 4.x servers where SHOW FULL COLUMNS did not yet have "Collation" and "Comment" columns. 2020-05-13 08:08:31 +02:00
Ansgar Becker
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
Ansgar Becker
9c810ccbc5 Do not create date/time cell editor without a column object (on joins), prefer ordinary text editor in such cases. Fixes a crash when determining the exact format of the underlying column. Closes #1024 2020-05-08 08:06:02 +02:00
Ansgar Becker
fb41077613 Stop showing a length for MySQL/MariaDB data types which don't support it. Even leave the length away for TEXT + BLOB types if it's the maximum (default) value. Closes #1023 2020-05-07 18:32:15 +02:00
Ansgar Becker
ee90332a8a Issue #1017: Not sure if this Handled variable is False anyway, but probably not, in which case this should help to not eat more shortcuts than required. 2020-05-05 19:16:39 +02:00
Ansgar Becker
fdbac13a67 Include invisible mother query grid when applying custom font name + size, so TResultTab.Create copies the updated values. See https://www.heidisql.com/forum.php?t=36177 2020-05-04 20:53:03 +02:00
Ansgar Becker
53d0316144 Fix detection of UNSIGNED flag on *INT columns without length (MySQL 8 only?). See https://www.heidisql.com/forum.php?t=36170 2020-05-04 16:56:24 +02:00
Ansgar Becker
579d6f34dc Do not override custom keep alive value of "0" with the default "20". See https://www.heidisql.com/forum.php?t=36139 2020-05-03 11:38:03 +02:00
Ansgar Becker
821fe9f9cb Enable "Windows authentication" checkbox for MySQL and MariaDB, and send current Windows username if checked. Closes #991 2020-05-01 11:34:57 +02:00
Ansgar Becker
4ef0ac952c Silence SQL errors in TPgConnection.GetTableForeignKeys on pre-v9 servers, which do not support STRING_AGG(). See https://www.heidisql.com/forum.php?t=36149 2020-05-01 11:17:44 +02:00
Ansgar Becker
b6bc01fb68 Fix crash when disconnecting with an open query result 2020-04-28 17:34:22 +02:00
Ansgar Becker
97fc069578 Set callback for SQLite's callback_needed event, and implement both required callback procedures. Fixes "No such collation sequence: xyz" when inserting or deleting rows in tables using some unknown collation. Closes #1000. 2020-04-25 22:05:28 +02:00
Ansgar Becker
b2ed8023f6 Forgotten file change for previous commit. See https://www.heidisql.com/forum.php?t=36100 2020-04-24 14:38:22 +02:00
Ansgar Becker
849a50c4f3 Make regular expressions for detecting attributes in EXTRA column of IS.COLUMNS slightly more lose, so a "default_generated" does not break detection of "on update ...". Also allow case insensitive searching. See https://www.heidisql.com/forum.php?t=36100 2020-04-23 20:37:24 +02:00
Ansgar Becker
5e2d6b3c93 Apply Modified event handler to some checkboxes on the preferences where this was missing. Closes #1005 2020-04-23 18:08:02 +02:00