4364 Commits

Author SHA1 Message Date
1985cd1e1c Issue #618: use the same new sorting icons on the query grids as well 2020-07-04 12:56:51 +02:00
4c60093a06 Issue #1081: apply quirk for missing IDENTIFIED BY PASSWORD clause to MySQL 5.7.6+ only (MariaDB still includes it). Will still be an issue for newer MySQL versions. 2020-07-04 08:44:08 +02:00
8b548862de Prefer String.IsEmpty over self-baken IsEmpty(String) 2020-07-04 08:12:17 +02:00
1484f4d464 Follow code convention for names of private fields in user manager code 2020-07-04 08:09:22 +02:00
b3bdbf25f1 Wrap numeric values in LaTeX export with $. See https://www.heidisql.com/forum.php?t=36530 2020-07-03 19:51:27 +02:00
f13ddfc5dd Allow underscores in IP address wildcards of users, in conjunction with --skip-name-resolve on the server. Closes #1080 2020-07-03 12:12:03 +02:00
bca89ec2f3 Issue #350: Roll back modifications I made for supporting ProxySQL Admin interface. There would be too many more issues. 2020-07-02 20:06:07 +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
a7f9635c39 Issue #618: subscript characters don't display with all fonts, so better use the working superscript chars and move them around 2020-06-30 09:04:52 +02:00
cde036bb8c Issue #618: get sort number nearer to its arrow, and place it right, not left besides the arrow 2020-06-29 22:11:53 +02:00
f65aed0d3a Issue #618: exchange sort arrows on data grid headers 2020-06-29 14:50:38 +02:00
1d2fb54a14 Issue #618: implement an owner-draw approach for column headers in data grid, and paint sort icons as text, including a superscript number of its index 2020-06-29 08:08:10 +02:00
f47c15a6b7 Make sorting arrows clearer. Closes #618 2020-06-28 13:10:34 +02:00
3b7cdf1583 Fix wrong row index used in TSQLiteQuery.Col and TSQLiteQuery.IsNull. Fixes loading more rows after first page on large SQLite tables. Closes #1053 2020-06-27 18:59:04 +02:00
561bba95d0 Leave numeric precision and scale away from DOUBLE column detection if either of them is empty. Closes #953 2020-06-27 18:33:10 +02:00
9d95fc010c Fix alias of PostgreSQL column type TIMESTAMPTZ with missing space. Closes #1071 2020-06-27 16:27:15 +02:00
ea68cddb24 Use different sets of characters not requiring quotes, per connection type. Use that to force quotes around columns with uppercase characters in PostgreSQL. Closes #1072. 2020-06-27 16:10:30 +02:00
b4926f3f57 Convert TSynHotKey's to standard VCL THotKey's. And finally remove code extension in SynEditMiscClasses which I accidentally overwrote on updates several times. 2020-06-27 10:15:45 +02:00
c113ff6ec7 Use ValidateNode to initialize all column nodes early, so they keep their FColumn data after click on Remove button. Closes #245 2020-06-25 23:22:35 +02:00
a3cf8b3c92 Set minimum window height of session manager. Closes #1074 2020-06-25 07:15:38 +02:00
08f0cbdb4f Remove download link for plink in SSH tunnel tab, and provide plink.exe v0.73 through the installer 2020-06-24 17:22:43 +02:00
1981afdf3b Issue #120: Allow unsupported ADODB providers per registry hack 2020-06-24 07:30:43 +02:00
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
9ffae88c5d Issue #350: make detection of "proxy admin module" more exact 2020-06-17 15:16:14 +02:00
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
1ec2b439a1 Issue #444: get quick filter items in "More values" working again without crash 2020-06-14 07:58:17 +02:00
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
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
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
1da3075a27 Forgotten file in previous commit (automatic "ImageName" addition) 2020-06-08 16:25:10 +02:00
3182107aff Automatic form additions, done by the new IDE: "ImageName". Related to #1052 2020-06-07 20:11:24 +02:00
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
e251a0b4f8 Report portable environment in statistics call 2020-06-07 12:35:53 +02:00
714301679d Show tree lines in database tree, which may be helpful for a better overview 2020-06-06 13:35:29 +02:00
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
43a114c2cf Try to disable styles for madExcept window. Related to #887 2020-06-04 07:51:49 +02:00
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
0339a09699 Issue #293: prevent long sort operation on header click in large query results 2020-05-30 08:30:07 +02:00
bca5270966 Report OS mode in statistics call 2020-05-21 22:34:01 +02:00
900e0dd119 Cast relpages to bigint, preventing out-of-range SQL error in PostgreSQL. Closes #1038 2020-05-20 12:12:02 +02:00
407d5ad3ed Issue #1028: Code cosmetic in TDBObject.GetTableColumns 2020-05-14 20:57:38 +02:00
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
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
7fbf88bebc Optimize SQL query in TDBConnection.GetTableForeignKeys. See https://www.heidisql.com/forum.php?t=36212 2020-05-14 19:36:21 +02:00
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
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
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
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
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
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