Commit Graph

6139 Commits

Author SHA1 Message Date
Ansgar Becker
5837689c71 No need to adjust vertical position of OK button on sorting popup. See http://www.heidisql.com/forum.php?t=12980 2013-07-07 04:27:11 +00:00
Ansgar Becker
483a94fb72 Adjust control dimensions in login form, so translations fit. See http://www.heidisql.com/forum.php?t=12979 2013-07-06 04:10:55 +00:00
Ansgar Becker
f4a82f4ec0 Use TDBQuery.DBObject.Database in TDBQuery.DatabaseName(), so for VIEWs we do not get the db from the table which is selected. Fixes issue #3266. 2013-07-05 04:37:06 +00:00
Ansgar Becker
05a48a3cb3 Issue #3212: Fall back to db..table if schema is unknown or server has no schema support. 2013-07-01 16:41:56 +00:00
Ansgar Becker
1660104d4d Support length of "max" in data types. Used in MSSQL. 2013-07-01 04:23:06 +00:00
Ansgar Becker
ca655582bd Issue #3212: Introduce TDBQuery.DBObject, to which we assign the selected object when getting the result for the data grid. Use that DBObject in TDBQuery.QuotedDbAndTableName and TDBQuery.PrepareEditing, where we need to know the schema of the object. 2013-06-30 14:10:51 +00:00
Ansgar Becker
63bd7947a5 Consider schema name when focusing tree node in TMainForm.SetActiveDBObject > TMainForm.FindDBObjectNode > TDBObject.IsSameAs 2013-06-30 14:05:33 +00:00
Ansgar Becker
4909931f83 Issue #3212: TDBQuery.SaveModifications makes use of TDBQuery.QuotedDbAndTableName, not TDBConnection.QuotedDbAndTableName. Make first one internally call the second one, so both do the same thing. 2013-06-29 04:28:37 +00:00
Ansgar Becker
c3d0932196 Do not always display NULL in a MSSQL grid field when value was edited. 2013-06-29 04:22:05 +00:00
Ansgar Becker
2ff588b233 "WITH .. CHECK OPTION" is already contained in the "source" value of a .frm file. Don't include it a second time in TMySQLConnection.GetCreateViewCode. Fixes issue #3258. 2013-06-29 04:03:07 +00:00
Ansgar Becker
5865716090 Support brackets in routine parameters. Fixes issue #3255. 2013-06-28 04:39:01 +00:00
Ansgar Becker
4dc4c22257 Documentation 2013-06-27 17:36:18 +00:00
Ansgar Becker
a047f4998a Issue #3212: Reestablish MSSQL 2000 compatibility by removing SCHEMA_NAME(schema_id) from TAdoDBConnection.FetchDbObjects. 2013-06-27 17:35:48 +00:00
Ansgar Becker
8326e0de2e Issue #3212: Inject XY_SCHEMA=xy clause into all other IS queries in TAdoDBConnection.GetCreateCode. 2013-06-27 04:46:00 +00:00
Ansgar Becker
9acc474e9a Issue #3212: Consider schema name in default objects sorting, so the tree displays the same order as we have in the database tab when sorted by "Name" column. 2013-06-26 04:24:51 +00:00
Ansgar Becker
9495f504c1 Issue #3212: Display schema name also in database tab, to make it consistent with the tree. 2013-06-26 04:19:38 +00:00
Ansgar Becker
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
Ansgar Becker
d0491f5737 Support auto_increment flag on unique key columns, in copy table dialog. Fixes issue #3250. 2013-06-25 04:17:51 +00:00
Ansgar Becker
8e02fa9fee Move helpers:GetIndexIcon to TTableKey.GetImageIndex 2013-06-25 04:15:11 +00:00
Ansgar Becker
e5486ebc5e * Avoid calling TDBConnection.ClearDbObjects() on active database after copying table. Instead, call actRefresh which takes care of a probably opened table object in the table editor.
* Check for table existence via SELECT on IS.TABLES, avoid usage and refresh of db objects here also.
* Fixes issue #3250.
2013-06-24 04:56:24 +00:00
Ansgar Becker
5ed52a851a Inject default schema between db and table in TDBConnection.QuotedDbAndTableName if target object does not exist. See issue #3212. 2013-06-22 05:52:30 +00:00
Ansgar Becker
ea0675bcb5 Copy table dialog:
* Clear db cache only once in btnOKclick
* Clear db cache of target db when done, instead of refreshing active db
* Remove unused variables
* Remove empty comment clause from CREATE TABLE code
2013-06-22 05:45:11 +00:00
Ansgar Becker
56b6e103a0 Introduce TDBConnection.FindObject(db, obj). Use that in TDBConnection.QuotedDbAndTableName() and for checks for table existence. 2013-06-22 05:35:36 +00:00
Ansgar Becker
3eb6e431cc Leave out "_binary" keyword on MSSQL when inserting binary files. Fixes issue #3244. 2013-06-22 04:47:17 +00:00
Ansgar Becker
6371ff5557 Issue #3212: Introduce TDBConnection.QuotedDbAndTableName(), callable with a db and table string. Internally calls TDBObject.QuotedDbAndTableName(), so we get the schema between db and table if required. 2013-06-22 04:45:53 +00:00
Ansgar Becker
9b7393ee56 Issue #3212: Add basic support for schemas in MSSQL. 2013-06-21 04:52:25 +00:00
Ansgar Becker
47b033c198 No background gray for sorted columns any longer. Leads to confusion when mixed with the new alternating row colors. See http://www.heidisql.com/forum.php?t=12882. 2013-06-20 04:30:18 +00:00
Ansgar Becker
af01a2b21b Include ROW_FORMAT in CREATE code. Fixes issue #3243. 2013-06-18 17:30:31 +00:00
Ansgar Becker
d9a5cfab41 Add overlay icons for table engines Blackhole and MergeMyISAM. 2013-06-17 21:12:21 +00:00
Ansgar Becker
88eb857346 Add preference option and logic for alternating grid row background colors. Fixes issue #2820. 2013-06-17 18:01:33 +00:00
Ansgar Becker
976c215728 Clear tab filename also if query editor is empty. Fixes issue #3241. 2013-06-17 04:27:54 +00:00
Ansgar Becker
1eb32a1e0f Support cancel button in "Run routine" action. Fixes issue #3151. 2013-06-14 04:59:42 +00:00
Ansgar Becker
f2a89f28b8 Various variables are int64 or float, for which we have no specific editor other than the string editor. Do not quote these to avoid "Incorrect argument type to variable.." Fixes issue #3153. 2013-06-14 04:26:13 +00:00
Ansgar Becker
051770c595 Issue #1289: Remove menu item as long as synchronize dialog is not fully implemented. 2013-06-14 03:50:09 +00:00
Ansgar Becker
6bab8c57a5 Include net type in server statistics call, so we can distinct between MySQL and MSSQL usage. 2013-06-13 04:59:08 +00:00
Ansgar Becker
9b21fc6d56 Support editing DEFINER clause in scheduled event editor. Fixes issue #2548. 2013-06-12 04:50:25 +00:00
Ansgar Becker
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
Ansgar Becker
01c5e5b65e Call ValidateControls() after pressing last or end button. Fixes issue #3234. 2013-06-12 04:07:00 +00:00
Ansgar Becker
8d13e84ed4 Remove default length of new INT columns in table editor. Fixes issue #3226. 2013-06-09 05:19:46 +00:00
Ansgar Becker
28708dd598 Issue #3215: Adjust date/time values converted from UNIX timestamps to use UTC time instead of local time. 2013-06-09 05:14:21 +00:00
Ansgar Becker
8ce2505f52 Set minimum height of listColumns in table editor. Works around AV mentioned in issue #3189. 2013-06-08 05:13:07 +00:00
Ansgar Becker
8b36ccdce3 Display values in grid columns which the user explicitly sets to be a UNIX timestamp in date/time format. Fixes issue #3215. 2013-06-08 04:27:48 +00:00
Ansgar Becker
3109547d40 Fix disabled "clear" button after adding AND filter in data tab. See http://www.heidisql.com/forum.php?t=12805#p12807 2013-06-05 17:15:33 +00:00
Ansgar Becker
c298dc62ea Append instead of overwrite data grid filter when user has Shift pressed. Fixes issue #865. 2013-06-03 17:16:38 +00:00
Ansgar Becker
62a92ff577 Fix broken Unicode characters in MSSQL, data grid. Fixes issue #2873. 2013-06-03 04:55:47 +00:00
Ansgar Becker
574498f955 Fix detection of text column types in MSSQL, so TEXT and NTEXT do not appear as numbers in query results. 2013-06-03 04:47:45 +00:00
Ansgar Becker
99f62c4324 Process placeholders in filename also in grid export dialog. Provide a list of valid placeholders below the recent files pulldown menu. See http://www.heidisql.com/forum.php?t=12506 2013-06-01 05:45:17 +00:00
Ansgar Becker
976881c748 Join the two error message snippets with a linefeed, not a space, so that gets more readable. See http://www.heidisql.com/forum.php?t=12758 2013-05-30 08:48:57 +00:00
Ansgar Becker
50e257de65 Apply system font to forms, not only Segeo on Vista and above. Fixes issue #3204. 2013-05-30 06:13:05 +00:00
Ansgar Becker
ed4f197f3f Use additional EOleException message in GetLastError. See http://www.heidisql.com/forum.php?t=12758 2013-05-30 06:08:36 +00:00