61 Commits

Author SHA1 Message Date
5a8a4af29a Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102. 2018-01-22 19:48:17 +01:00
b5765c9c9e Extend TMySQLOption enumeration with newer items 2017-06-05 14:31:45 +00:00
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
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
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
c890cf5172 Internally handle MySQL's native column types in an enumeration, not as constants. See mysql.h.pp in the MySQL server code. 2015-11-19 19:54:59 +00:00
cbbfcb268f Add basic support for MySQL's new JSON data type. See http://www.heidisql.com/forum.php?t=19870 2015-11-19 19:23:11 +00:00
6d6cc78a4e Add various missing translation strings. See http://www.heidisql.com/forum.php?t=19401 2015-09-26 12:21:30 +00:00
ff80ac2301 Support MSSQL's XML data type, and do not cast it to VARCHAR in data grid. See http://www.heidisql.com/forum.php?t=19372 2015-09-17 17:43:13 +00:00
32de8d1494 Support PostgreSQL data types cidr, inet and macaddr. Grouped in dtcText category, so the grids show the normal text editor, but without applying SUBSTR(). See http://www.heidisql.com/forum.php?t=18442 2015-05-19 05:41:07 +00:00
3701872a3e Introduce new data type property "LoadPart" (boolean), which says whether such columns can be loaded per SUBSTR or LEFT into the data grid. Set it to false for UUID and JSON. See http://www.heidisql.com/forum.php?t=18442 2015-05-18 19:41:47 +00:00
92f502dc72 Add support for PostgreSQL's UUID data type. See http://www.heidisql.com/forum.php?t=18442 2015-05-16 09:17:26 +00:00
5a5eaabeef * Fix microseconds in MSSQL date/time data types, hidden in data and query grids.
* Add support for microsecond precision of MSSQL date/time types in table editor, show these in "Length/Set" column
* See http://www.heidisql.com/forum.php?t=17728
2015-03-01 18:21:59 +00:00
4e66477adf Support JSON data type on PostgreSQL. See http://www.heidisql.com/forum.php?t=17584 2015-02-05 19:18:12 +00:00
fe1c449792 Add support for MSSQL data type HIERARCHYID. See http://www.heidisql.com/forum.php?t=17575 2015-01-28 18:56:57 +00:00
0d61d18261 PostgreSQL:
* Detect xid type (oid 28) as integer.
* Detect character type (oid 1042) as char, not varchar.
* Detect aclitem[] type (oid 1034) as unknown, not text.
2014-11-13 18:55:11 +00:00
3793e01bb4 Fix detection of PostgreSQL data type INTERVAL as VARCHAR. See http://www.heidisql.com/forum.php?t=16760 2014-11-13 17:21:07 +00:00
aade1a9abc Add support for MSSQL datetime2 column type. See http://www.heidisql.com/forum.php?t=16708 2014-10-26 11:38:27 +00:00
371421cb06 Detect PostgreSQL column types #26 (oid) and #28 (xid) as integers 2014-10-26 11:00:02 +00:00
ea4701f73f Introduce a UNKNOWN data type in PostgreSQL, so we don't fall into a SQL error when opening the data grid with a SUBSTR() call on a non-text column, for example USER-DEFINED/GEOMETRY(POINT). 2014-08-31 09:25:38 +00:00
3886bee7e3 Add support for BOOLEAN column data type in PostgreSQL. See http://www.heidisql.com/forum.php?t=16072#p16204 2014-08-30 14:15:13 +00:00
17d2861a8c Add support for geometry data types in PostgreSQL. See http://www.heidisql.com/forum.php?t=16072#p16198 2014-08-26 17:45:37 +00:00
e7ed0dbf02 Support BIT and BIT VARYING data types in PostgreSQL without SQL errors in Data tab. See http://www.heidisql.com/forum.php?t=16072#p16180 2014-08-24 17:24:04 +00:00
4aee9078ee Add experimental PostgreSQL support, issue #3190. Include 32bit and 64bit dll's in installer. 2014-04-15 06:17:37 +00:00
c5192252b0 MSSQL: Fix handling of TIMESTAMP columns in data tab. See http://www.heidisql.com/forum.php?t=13041 2013-12-15 10:14:10 +00:00
2097a5926d Add missing DATE and TIME datatypes for MS SQL. Fixes issue #2957. 2013-02-25 18:34:54 +00:00
9841bc3f21 Support BIT data type in MS SQL. Fixes issue #2955. 2013-02-24 10:49:33 +00:00
1f313df20e Remove TServerVariable.VarType property, and detect that by only examining the value. Fetch list of variables from a more complete documentation table which also reveals their read/write state. Also, paint variable values in data type colors. 2012-05-20 22:17:57 +00:00
2ef9f4e288 Implement server variable mapping table, and extend the variable editor to explicitly modify strings, numbers, booleans or enumerations, as described on http://dev.mysql.com/doc/refman/5.6/en/dynamic-system-variables.html . Fixes issue #2614. 2012-05-20 08:34:13 +00:00
867d656f0b Fix detection of decimal datatype, so the recently introduced color settings for float's also applies on query results. 2012-02-27 23:15:30 +00:00
af3f590723 Use one color pulldown for setting grid text colors, not one per data type. Use all TDBDatatypeCategory's here, so this introduces a separate color for floats and integers, which were "numeric" before. 2012-02-27 22:16:05 +00:00
1a593a24b4 Revert r3979, move imported mysql_* functions from TDBConnection to a global var scope. Fixes issue #2647. Also, move MySQL related structures out of dbconnection.pas into mysql_structures.pas and const.inc. 2011-12-24 08:10:41 +00:00
3348cc879a Support length for TEXT columns in table editor. Looks a bit undecided in MySQL, as MEDIUMTEXT e.g. has no length attribute. However, fixes issue #2505. 2011-07-23 18:11:44 +00:00
98c872909c Support virtual columns in MariaDB 5.2. Fixes issue #2451. 2011-06-10 23:36:38 +00:00
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
b50659135c Again, move code for loading libmysql.dll - the right place is now the connection object itself, which loads the library on demand, in SetActive(). This enables the application to start independently of an existent library, raising an error when pressing the connect button. Also, this is a first step towards multi-dbms. 2011-02-17 00:26:53 +00:00
68eea80072 Update MySQL functions array with newer documentation text. 2010-08-27 17:00:49 +00:00
7cd1c7b0ab Add support for ZEROFILL flag in table editor. Introduces a new checkbox column in the columns list. Fixes issue #570. 2010-07-04 13:35:54 +00:00
14d39481f1 Again add some more missing keywords to internal list which is used in "Reformat SQL" action besides other places. 2010-05-14 23:04:33 +00:00
ab210d5758 Add CASE and WHEN to list of keywords, so they are uppercased in "Reformat SQL" action. 2010-05-13 08:50:06 +00:00
787005186d For datatypes which require a length/set parameter in parentheses, we should provide a default length. 2010-02-17 08:35:41 +00:00
2e00bdf37d Add SOME keyword to keyword highlighter. Fixes issue #1606 2010-01-16 14:42:18 +00:00
9080ad7607 No need to use the Wide* version of string functions any longer. 2010-01-15 20:28:48 +00:00
52ea8f410a Use Unicode enabled TStringList instead of TWideStringList in all places. Should have no visible effect, apart from a very minor performance optimization, as String reference pointers are handled by Delphi, WideString by Windows. 2010-01-14 19:41:58 +00:00
b09e8a6816 Extend list of known MySQL keywords with those in http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html, but not in our own list. Fixes issue #1600. 2010-01-13 19:45:53 +00:00
a4652d39a4 * Fix compiler warnings due to implicit AnsiString to (Unicode)String or vice versa
* Remove workaround for Unicode text to and from clipboard
* Fix writing/reading wrong encoded text into/from registry - no need to use Utf8Encode() any longer
* Implement TMySQLQuery.ColAsAnsi() for cases in which we read binary data.
2010-01-07 00:00:56 +00:00
4d7ed2303c Gracefully be case insensitive in GetDatatypeByName() so we can also pass lower case strings. 2009-12-09 21:05:39 +00:00
12a8e2ebc5 Implement a more lightweight connection layer, consisting of 2 units in source directory. Breaks threading and window to window communication, which should be reimplemented later. 2009-10-28 00:08:49 +00:00
45eba2139c Examine query error messages for "(errno: 123)" and add the more meaningful message returned by perror.exe . Adds a static error message list from my local 5.1.22 server. This is especially helpful in the foreign key editor, where any InnoDB error seems to be the more cryptic one by default, while there are lots of possible error causes. See issue #400. 2009-08-23 22:53:52 +00:00
e2b252a906 Implement a new datatype selector for the table editor, including groups, datatype colors and help hints. Fixes issue #1214 and issue #1165 . 2009-07-07 23:31:16 +00:00