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
68b46b2b3f
fix exception in early stage of table editor initialization
2017-05-18 13:17:16 +00:00
a50c21a383
* unify context menu of various sql editors, by supporting all contained editors instead of searching for one with the name "SynMemoBody"
...
* disable actions which need to modify the contents on readonly editors
* add "save to textfile" and "un/comment" actions to the unified context menu
2017-05-18 13:10:59 +00:00
b4806065c2
Add "<server default>" to the engine drop down on the table editor, and make that the new default, so we leave the ENGINE=.. clause away. See https://www.heidisql.com/forum.php?t=23363
2017-02-23 17:16:00 +00:00
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
19df80eaac
MSSQL: Fix broken query for altering column comment via table editor. See
...
* here: http://www.heidisql.com/forum.php?t=16947
* and here: http://www.heidisql.com/forum.php?t=18119
2015-10-13 18:07:37 +00:00
89988119d4
PostgreSQL: Fix wrong ALTER TABLE query for modifying table comment. See http://www.heidisql.com/forum.php?t=18937
2015-08-08 14:25:27 +00:00
098827aea5
Remove defined but unused variable
2015-03-15 15:53:44 +00:00
aa6ed7d9dd
Fix non working addition of new columns in MySQL. See http://www.heidisql.com/forum.php?t=16948
...
PostgreSQL: Detect all array style types as unknown type, e.g. TEXT[].
2014-11-14 17:09:08 +00:00
3d29d13b42
PostgreSQL, table editor: Retrieve columns from pg_attribute, to get the column comments. Also support applying a comment on new and existing columns.
2014-10-27 19:42:56 +00:00
d2f3662626
Restrict column reordering to MySQL only. Not supported by MSSQL and PostgreSQL. See http://www.heidisql.com/forum.php?t=16328
2014-10-16 18:09:03 +00:00
6ac52567af
Call more useful online help by "Help" button on table editor
2014-10-16 12:27:50 +00:00
d1b0c27d51
Fix unsupported AFTER/FIRST clause in ALTER TABLE ADD COLUMN... query on PostgreSQL
2014-08-30 14:30:44 +00:00
3a169b8a27
Support data types with spaces in them, for example "DOUBLE PRECISION" on PostgreSQL. See http://www.heidisql.com/forum.php?t=16072#p16169
2014-08-21 18:14:37 +00:00
7e986208eb
Enable foreign keys editor on NDB cluster >= 7.3.x. See http://www.heidisql.com/forum.php?t=16059
2014-07-26 14:29:55 +00:00
8c3775fe0f
Add "Save as textfile" action, and include that in routine editor > "CREATE code" tab > context menu. Fixes issue #3486 .
2014-05-08 04:50:59 +00:00
ac3f8e2438
Disable UNSIGNED and ZEROFILL checkboxes for BIT type columns. See http://www.heidisql.com/forum.php?t=15354
2014-04-02 04:42:17 +00:00
6c7a158ab7
Clear partitions tab when creating new table.
2014-03-13 18:35:48 +00:00
1366ace11c
Add a read-only tab for a potentially existing PARTITION clause of the table. Fixes issue #1692 .
2014-03-13 04:58:45 +00:00
906b80f3a5
Move code from helpers.GetColumnDefaultClause into dbconnection.TTableColumn.SQLCode. Support microseconds part in DEFAULT CURRENT_TIMESTAMP clause. Fixes issue #3506 .
2014-03-09 04:08:12 +00:00
e3c288f8a7
Check if all indexes have at least one column when creating or altering table to prevent creation of empty index. Fixes issue #3516 .
2014-02-20 14:36:55 +00:00
5590754341
MSSQL wants one ALTER TABLE query also per DROP COLUMN. See http://www.heidisql.com/forum.php?t=14421
2013-12-25 07:07:56 +00:00
a3e9725b69
MSSQL wants one ALTER TABLE query per ADD/CHANGE COLUMN. See http://www.heidisql.com/forum.php?t=14421
2013-12-24 09:03:36 +00:00
63468b0c01
Make grid UPDATEs and INSERTs more compatible with DATE/TIME columns in MSSQL. Fixes issue #3469 .
2013-12-16 18:44:12 +00:00
07a401cd64
Show up Data tab after successfully creating a new table. Fixes issue #2480 .
2013-12-07 06:09:20 +00:00
821c6cb4db
Fix various compiler warnings and notices
2013-11-01 06:17:52 +00:00
5b3c8b92c7
Include schema name in ALTER TABLE query on table editor.
2013-07-24 04:18:49 +00:00
3007a5e860
Send column default value through UnescapeString and then to EscapeString, and let UnescapeString remove double backslashes. Fixes issue #3283 .
2013-07-15 05:00:07 +00:00
344acd8d20
Limit test query to return one single row, not all rows. Fixes issue #3271 .
2013-07-08 16:24:40 +00:00
b77b990714
Issue #3212 : Filter objects by schemata when gathering columns from IS.COLUMNS in TDBConnection.GetCreateCode, so we don't get columns from objects with the same name in another schema.
2013-06-26 04:11:46 +00:00
8e02fa9fee
Move helpers:GetIndexIcon to TTableKey.GetImageIndex
2013-06-25 04:15:11 +00:00
af01a2b21b
Include ROW_FORMAT in CREATE code. Fixes issue #3243 .
2013-06-18 17:30:31 +00:00
819d3ed85c
Refresh CREATE CODE after pressing Save button on table editor, so we don't display no longer present indexes, and probably more. Fixes issue #3198 .
2013-06-12 04:16:34 +00:00
8d13e84ed4
Remove default length of new INT columns in table editor. Fixes issue #3226 .
2013-06-09 05:19:46 +00:00
550a139dac
Support default values of BIT columns in table editor and SQL export. Fixes issue #2544 .
2013-05-19 04:30:14 +00:00
e42cb467fc
Fix wrong offset in db.table string when checking for foreign key match. Fixes issue #3160 .
2013-04-14 05:21:04 +00:00
002e9bc544
Accept column rename when it has the same name as a deleted column. Fixes issue #3137 .
2013-03-31 06:45:24 +00:00
ae76fcde28
Mark table key as modified after editing its contained column names, so such changes get posted to the server when clicking "Save". Fixes issue #3144 .
2013-03-31 06:36:15 +00:00
6ba892c534
Issue #400 : Compare data types and unsigned flags of source and reference columns, when leaving foreign column editor. Introduce a more helpful error message when these do not match, as a replacement for the servers poor message "Foreign key constraint is incorrectly formed".
2013-02-06 19:24:21 +00:00
d517dc2a21
Hide non-InnoDB tables in foreign key editor. See http://www.heidisql.com/forum.php?t=11816
2013-02-04 18:40:34 +00:00
e25ea34794
No need to cast for TTableKey.
2012-12-26 07:34:16 +00:00
13cff8c63c
Silently auto-rename index to "PRIMARY" when index type gets set to "PRIMARY". Fixes issue #3031 .
2012-12-26 07:33:21 +00:00
39926ac729
Remove properties FFullDatatype, Connection and Datatype from TBaseGridEditorLink, for the benefit of a new property "TableColumn", which has everything we need. Using this TableColumn property, the data grid editors can now read the LengthSet attribute of the source column, which we need to read + write the microseconds part of DateTime values. Add some additional code to make editing microseconds peachy. Fixes the second part of issue #3003 .
2012-12-24 13:12:25 +00:00
e12b4e652f
Allow modification of index column name per grid pulldown editor, in table editor. Fixes issue #3059 .
2012-12-17 16:25:43 +00:00
9d8b4cd83a
Make more inline strings translatable.
2012-11-28 23:27:31 +00:00
14006cc9dc
Do not use comment from selected column as a default for a new column. Fixes issue #3009 .
2012-11-26 05:52:44 +00:00
f96288fce9
Translate string variables and literals in .pas files. TODO: translate constants.
2012-11-26 05:44:01 +00:00
ca1d94c87b
Issue #557 : Include gnugettext.pas from https://dxgettext.svn.sourceforge.net/svnroot/dxgettext/trunk/dxgettext/sample/ . And add basic code to all FormCreate events to translate their components in the future.
2012-11-10 14:28:44 +00:00
c0610ef70d
Add support for renaming tables in MS SQL. Fixes issue #2981 .
2012-10-04 19:04:05 +00:00
3ff4bba55c
Enhance MS SQL compatibility in table editor:
...
* Introduce specifities for ADD/CHANGE column clauses. Fixes issue #2532 .
* Remove unsupported DROP DEFAULT for MS SQL
* Remove unsupported LENGTH/SET attribute for relevant data types
2012-09-29 07:43:00 +00:00