Commit Graph

4274 Commits

Author SHA1 Message Date
Ansgar Becker
24208cc039 Use b'' format only for BIT columns in MySQL only. See http://www.heidisql.com/forum.php?t=20333 2016-04-27 17:55:31 +00:00
Ansgar Becker
6fae579775 Overcome 4000 character limit in IS.VIEW_DEFINITION. See http://www.heidisql.com/forum.php?t=21097 2016-04-17 13:31:50 +00:00
Ansgar Becker
ac8d6bb560 Add splitter on procedure editor. See http://www.heidisql.com/forum.php?t=21106 2016-04-13 17:27:40 +00:00
Ansgar Becker
527eed1bc4 Fill SSL command line parameters only if not empty in HeidiSQL session. See http://www.heidisql.com/forum.php?t=21024 2016-04-11 17:39:51 +00:00
Ansgar Becker
2410e3c8af Display the version of libpq.dll in the status bar's balloon hint with server details, using PQlibVersion(). 2016-04-10 10:27:38 +00:00
Ansgar Becker
91cefe7c5e Update all PostgreSQL libraries, add missing libiconv-2.dll, unify filename of 32bit version of libintl.dll (=> libintl-8.dll), and finally revert the previous 3 commits, which hopefully are not required with these updates. See http://www.heidisql.com/forum.php?t=21039 2016-04-08 16:26:00 +00:00
Ansgar Becker
4645c38bc2 Load libpq.dll after just checking if it exists. Do not check what LoadLibrary returns. This is quite risky, but there seem to be cases where LoadLibrary returns 0 although libpq.dll was loaded. See http://www.heidisql.com/forum.php?t=21039 2016-04-06 05:03:58 +00:00
Ansgar Becker
cd35370f1d Attempt to add a helpful error message to the error dialog when libpq.dll was not loaded. http://www.heidisql.com/forum.php?t=21039 2016-04-05 05:04:02 +00:00
Ansgar Becker
bdddc726b4 Load libpq.dll with full path, so the LoadLibrary does not accidentally take a different (probably wrong) one from somewhere else than the current directory. See http://www.heidisql.com/forum.php?t=21039 2016-04-04 18:18:59 +00:00
Ansgar Becker
bd63325a9f MSSQL: Work around multiple results from a single query, in case of a stored procedure for example. See http://www.heidisql.com/forum.php?t=21036 2016-04-04 17:25:12 +00:00
Ansgar Becker
347ed4880e Add "SQL DELETEs/INSERTs" to grid export formats. See http://www.heidisql.com/forum.php?t=20929 2016-04-03 09:45:04 +00:00
Ansgar Becker
ecdce66677 Fix multi column filter concatenated without OR after linebreak. See http://www.heidisql.com/forum.php?t=21005 and http://www.heidisql.com/forum.php?t=21007 2016-03-30 18:08:20 +00:00
Ansgar Becker
c6a6b562cf Use an exact comparison for PostgreSQL's BOOLEAN datatype. See http://www.heidisql.com/forum.php?t=20953 2016-03-30 18:00:47 +00:00
Ansgar Becker
a119d7570a Display UTC date/time in 5th status bar panel. See http://www.heidisql.com/forum.php?t=20999 2016-03-29 18:21:18 +00:00
Ansgar Becker
bc70226565 MSSQL table names: Revert previous change in TAdoDBQuery.TableName and assign separate SQL strings earlier, in TAdoDBConnection.GetLastResults. Fixes wrong table name in "Send queries in one go" mode. See http://www.heidisql.com/forum.php?t=20979 2016-03-25 19:11:03 +00:00
Ansgar Becker
693aeb3b39 Fix bug in TAdoDBQuery.TableName when multiple queries were executed. See http://www.heidisql.com/forum.php?t=20979 2016-03-25 10:08:42 +00:00
Ansgar Becker
aedde4aaef Use an exact comparison in multi-column filters for some PostgreSQL data types to overcome SQL errors, e.g. UUID, INT etc. Also, prevent other errors by matching the value against a certain regular expression. If it does not match, leave this column away. Introduces the new TDataType.ValueMustMatch property. See http://www.heidisql.com/forum.php?t=20953 2016-03-23 17:09:08 +00:00
Ansgar Becker
4378e2b98f Remember selected encoding in several file-open-dialogs. See http://www.heidisql.com/forum.php?t=20868 2016-03-20 13:34:23 +00:00
Ansgar Becker
9e5d0cbd4d Do not check existence of IS.routines before querying it. See http://www.heidisql.com/forum.php?t=20456#p20487 2016-03-13 10:29:03 +00:00
Ansgar Becker
d0613c00f4 Support searching in procedures and functions on MSSQL and PostgreSQL mode too. 2016-03-13 10:22:27 +00:00
Ansgar Becker
d904537943 Warn if export output filename contains illegal characters, which TFileStream.Create does not catch for some reason. See http://www.heidisql.com/forum.php?t=20873 2016-03-12 13:55:08 +00:00
Ansgar Becker
df18c98af8 Make keep-alive-interval customizable in "Advanced" tab on session manager. See http://www.heidisql.com/forum.php?t=20829 2016-03-05 18:36:44 +00:00
Ansgar Becker
930c406d84 Use a better fitting icon for the browse-file button in SQL export dialog. See http://www.heidisql.com/forum.php?t=20717 2016-02-21 10:32:32 +00:00
Ansgar Becker
8027e3a8de Again, try to tweak the width of the size column on the database tree, as there is still an ellipsis in some cases. 2016-02-08 19:17:47 +00:00
Ansgar Becker
7f587da165 Now that 1023 MiB are formatted as 0.9 GiB, we need to adjust the auto-calculated width of the size column on the database tree. 2016-02-07 11:44:36 +00:00
Ansgar Becker
187a56abe6 Format byte numbers so that we never get a thousands separator in it. Prevents us from running into a conversion bug in helpers.CleanupNumber(). See http://www.heidisql.com/forum.php?t=20612 2016-02-07 11:42:17 +00:00
Ansgar Becker
2e2b6f2275 Try to show tooltip when columns in database tree are too narrow to show the full text. See http://www.heidisql.com/forum.php?t=20458 2016-01-31 18:20:03 +00:00
Ansgar Becker
0121d55694 Support inline valued functions on MSSQL. See http://www.heidisql.com/forum.php?t=20186 2016-01-27 18:31:19 +00:00
Ansgar Becker
35059404ea Support procedures and functions in "Find text on server" dialog. MySQL syntax only yet, others are to implement. See http://www.heidisql.com/forum.php?t=20456 2016-01-23 09:56:41 +00:00
Ansgar Becker
8c5d9e0033 Fix unquoted and uncleaned numeric values in data grid updates and inserts. See http://www.heidisql.com/forum.php?t=20434 2016-01-20 19:36:25 +00:00
Ansgar Becker
03c591ade5 Add some new lines in SQL export, especially when "Add comments" is disabled 2016-01-14 20:33:45 +00:00
Ansgar Becker
c7ad2b7dc1 Add new "Options" dropdown button on SQL export dialog, and two new true/false settings: "Add comments" and "Remove auto_increment clauses".
* see http://www.heidisql.com/forum.php?t=18727#p18729
* see http://www.heidisql.com/forum.php?t=20363#p20373
2016-01-13 19:22:41 +00:00
Ansgar Becker
bdaddea7ea Revert r5038 - quoting all columns again now. Reserved words like "interval" are not detected in EscapeString(), so this just a source of new bugs. Thanks to Vadim for his hint! 2016-01-11 20:59:34 +00:00
Ansgar Becker
71144a9aec Escape and quote binary strings in grid export if "View binary data as text" button is active. See http://www.heidisql.com/forum.php?t=20320 2016-01-10 17:48:24 +00:00
Ansgar Becker
dfb74c8a9c Do not quote column names when not required in SELECT query for data grid. See pm from mr.pbishnoi@gmail.com 2016-01-05 20:34:24 +00:00
Ansgar Becker
34f524686d Fix detection of virtual columns without "GENERATED ALWAYS" clause. See http://www.heidisql.com/forum.php?t=20248 2016-01-04 18:35:20 +00:00
Ansgar Becker
a22a35b3ed Implement TPGQuery.TableName, so exporting grid rows get a table name when needed. E.g. for output format "SQL Inserts". See http://www.heidisql.com/forum.php?t=18946 and issue #3696. 2015-12-22 19:33:31 +00:00
Ansgar Becker
b590b5709d In SQL dumps, make "SET NAMES utf8mb4" a version conditional statement for the minimum MySQL version supporting that charset. See http://www.heidisql.com/forum.php?t=20188 2015-12-22 11:31:54 +00:00
Ansgar Becker
b13cd66f1b Slightly increase auto-calculated width of size column in database tree, so it does not use ellipses on wider texts, e.g. "1.023 KiB" 2015-12-20 11:38:23 +00:00
Ansgar Becker
3729f290f1 Table designer: Do not allow an empty length/set for data types which require one. See http://stackoverflow.com/questions/34315162/how-to-create-table-in-mariadb 2015-12-20 11:03:15 +00:00
Ansgar Becker
ae206eec29 Remove unused variables 2015-12-16 18:35:24 +00:00
Ansgar Becker
f8067452d2 Ignore surrounding parentheses when detecting table aliases for completion proposal. 2015-12-16 18:31:55 +00:00
Ansgar Becker
928dec5e8d Rephrase confirmation message for running unsafe queries. See http://www.heidisql.com/forum.php?t=20139 2015-12-16 18:21:43 +00:00
Ansgar Becker
2f885e1fa7 Remember size of completion proposal between sessions. See http://www.heidisql.com/forum.php?t=20130 2015-12-16 18:17:21 +00:00
Ansgar Becker
62b7e41d43 Fix crash when opening completion proposal with only views in a database. 2015-12-15 19:08:34 +00:00
Ansgar Becker
263904382a Set font size per Ctrl + mousewheel in any grid view. 2015-12-13 21:18:02 +00:00
Ansgar Becker
80990b84d0 Fix duplication of query tab controls, when it comes to aligning the query helpers tree. See http://www.heidisql.com/forum.php?t=20041 2015-12-07 18:08:25 +00:00
Ansgar Becker
636c220010 Prevent various problems with alignment of controls. See http://www.heidisql.com/forum.php?t=18924 2015-12-03 19:28:13 +00:00
Ansgar Becker
d192d264eb Increase width of shortcut tree, so new translations have enough room. See http://www.heidisql.com/forum.php?t=20009#p20011 2015-12-02 13:47:54 +00:00
Ansgar Becker
f0be963879 Use a reasonable default height for the query editor, to prevent a splitter problem. See http://www.heidisql.com/forum.php?t=19952 2015-12-02 08:44:47 +00:00