Commit Graph

3774 Commits

Author SHA1 Message Date
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
Ansgar Becker
438281fe5f Extend detection of requirement to name resolving in user manager, to allow netmasks. Also, "localhost" is no longer auto-resolved via libmysql.dll. Fixes issue #3205. 2013-05-30 06:05:44 +00:00
Ansgar Becker
b359c9df88 MSSQL: Escape joker chars in conjunction with an "ESCAPE" appendix after the LIKE clause. See http://www.heidisql.com/forum.php?t=12747 . 2013-05-28 17:48:55 +00:00
Ansgar Becker
c4f0b2798b MSSQL wants single quotes escaped with a second single quote, not with a backslash. No clue how to escape joker chars in a WHERE clause. 2013-05-28 04:54:08 +00:00
Ansgar Becker
debf37824c Issue #3191: Use some standard TActions to implement a simple search/replace dialog in the popup text editor. 2013-05-28 04:30:35 +00:00
Ansgar Becker
9cf6634426 Insert/update NVARCHAR/NTEXT/NCHAR contents with preceding "N", as MSSQL wants Unicode strings handled this way. See issue #2873. 2013-05-27 04:32:01 +00:00
Ansgar Becker
8c711d3e56 Put session name into caption of login-on-demand dialog, so applications like Keepass can identify it. Fixes issue #3180. 2013-05-25 06:15:17 +00:00
Ansgar Becker
3569ee8d94 Do not restore previous state of checkbox options "Drop database" and "Drop tables", leave them off when calling the export sql dialog. Fixes issue #3197. 2013-05-25 05:45:25 +00:00
Ansgar Becker
62da5d8833 Leave SQL help action disabled as long as there is no selected connection. Fixes issue #3200. 2013-05-25 05:32:41 +00:00
Ansgar Becker
8dd4399395 Introduce server specific quote characters, so ParseTableStructure() and DeQuoteIdent() do not remove too much.
* bug report: http://www.heidisql.com/forum.php?t=12685
* broken in r4364, for fixing issue #2496
2013-05-23 17:37:01 +00:00
Ansgar Becker
ea9d877d75 Modify installer sidebar image for the next release. 8.0 2013-05-19 05:00:51 +00:00
Ansgar Becker
4cf7927e06 Prepare release: Update major version to 8 2013-05-19 04:45:38 +00:00
Ansgar Becker
550a139dac Support default values of BIT columns in table editor and SQL export. Fixes issue #2544. 2013-05-19 04:30:14 +00:00
Ansgar Becker
1e3fde7234 Give the datagrid-truncation cast a length of 256 in MSSQL, so we don't just get the CAST default of 30 chars. Fixes issue #3186. 2013-05-17 04:08:27 +00:00
Ansgar Becker
056322c488 Expect dots in database and table names, when parsing SHOW GRANTS results. See http://www.heidisql.com/forum.php?t=12640 2013-05-11 05:15:11 +00:00
Ansgar Becker
108c5037aa Turn column default text memo into a TButtonedEdit, and use a right button drop down menu which displays ENUM and SET values. Fixes the ENUM+SET part of issue #1160. 2013-05-10 05:12:41 +00:00