Commit Graph

4326 Commits

Author SHA1 Message Date
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
Ansgar Becker
2fae5dd852 Add new advanced session option, for hiding databases via regular expression. Closes #387 2020-04-22 18:28:38 +02:00
Ansgar Becker
62c0b8e43a Issue #126: fix wrong tab order on SQL tab in preferences dialog 2020-04-22 16:38:29 +02:00
Ansgar Becker
40c1f4c03c #444: show initial captions and hints of TAction's on shortcut page in preferences dialog 2020-04-21 18:12:27 +02:00
Ansgar Becker
114b92d27a #444: turn remaining quick filter menu items into TAction's, with customizable shortcuts only for the most important ones 2020-04-21 18:03:22 +02:00
Ansgar Becker
cc161270c9 Fix crash when loading portable fails, when MessageDialog() itself crashes. See #1001 2020-04-20 09:11:58 +02:00
Ansgar Becker
d316ec85c0 #444: turn first bunch of quick filter menu items into TAction's, with customizable shortcuts 2020-04-19 19:17:30 +02:00
nummacway
dc054cc481 Fixing #327 2020-04-15 16:42:37 +02:00
Ansgar Becker
91b012a996 Catch exception when mouse points to quick filters > More > ..., with an invalid active SQL filter 2020-04-15 16:36:15 +02:00
Ansgar Becker
faaf1e29f9 Issue #819: add examples to some of the regular expression shorthands, and add \x for hex codes 2020-04-14 18:08:01 +02:00
Ansgar Becker
df0ab05be4 Issue #819: add two buttons right besides search and replace combo boxes, with a dropdown menu containing clickable hints on regular expression qualifiers 2020-04-14 17:48:27 +02:00
Ansgar Becker
ef4bdd9c55 Issue #819: extend hint for regular expression search/replace mode with \l \L \u and \U modifiers 2020-04-13 20:10:26 +02:00
Ansgar Becker
cedf8359ad Issue #819: extend hint for regular expression search/replace mode, as we now support uppercase replacements 2020-04-13 13:20:54 +02:00
Ansgar Becker
3a29a2086e Add option to support completion proposal with matching in middle of entered text. Closes #126 2020-04-12 15:03:47 +02:00
Ansgar Becker
099d553a05 #982: Add "Reformat SQL" menu item to view editor, and all other editors with a code editor. 2020-04-11 13:41:38 +02:00
Ansgar Becker
12606e7de3 Store last used database directly, not only when closing a session. Closes #983 2020-04-11 13:34:17 +02:00
Ansgar Becker
ac4dfacd74 Catch sporadic exceptions thrown in mysql_close() with libmysql-6.1.dll, see #980 2020-04-10 12:58:57 +02:00
Ansgar Becker
f2c6bb713a Add support for -db/--databases command line parameter. Closes #977 2020-04-09 19:49:35 +02:00
Ansgar Becker
2b07c279eb Add context menu on foreign key list header. See https://www.heidisql.com/forum.php?t=36014 2020-04-09 19:38:22 +02:00
Ansgar Becker
4470ca6c05 Issue #977: pass value of -p command line argument to the connection even when it's "0", to override TConnectionParameters.DefaultPort 2020-04-09 18:13:53 +02:00
Ansgar Becker
f11a81e3b5 Issue #977: Support -l/--library command line parameter, and provide short parameters for sslprivatekey, sslcacertificate, sslcertificate, sslcipher and cleartextenabled 2020-04-09 14:55:01 +02:00
Ansgar Becker
221196c274 Paint session background color in session manager's tree view 2020-04-06 11:59:57 +02:00
Ansgar Becker
11e45ad1f8 Trigger auto-resize of buttons also when form gets resized. See https://www.heidisql.com/forum.php?t=35862 2020-04-06 09:16:12 +02:00
Ansgar Becker
45847ec7b9 Add "Show SQL completion proposal" action and menu item, to support customizing its shortcut through the preferences dialog. Closes #972 2020-04-05 13:06:34 +02:00
Ansgar Becker
4bbe7b789e Auto-resize width of bottom right buttons on session manager, to make room for longer translations. See https://www.heidisql.com/forum.php?t=35862 2020-04-05 10:49:54 +02:00
Ansgar Becker
24ebc91b84 Fix unquoted column default text values for MariaDB servers prior to 10.2.1. Closes #971 2020-04-01 15:42:24 +02:00
Ansgar Becker
ee4ef09336 Catch SQL errors happening in PlaceObjectEditor in click on table. Closes #969 2020-04-01 09:43:33 +02:00
Ansgar Becker
c67ba1afd3 Issue #692: support urls in grid cells starting with "www.", which are accepted by web browsers 2020-04-01 09:22:50 +02:00