ef782046cc
Add support for SQL Server 2008 when fetching database names. Fixes issue #2550 .
2011-12-17 13:59:51 +00:00
b5e28f43db
Refreshing datagrid result while connection is cut triggers SelectedTableColumns to reset implicitly in ConnectionReady > DBTreeFocusChanged > ParseSelectedTableStructure. Add an explicit Connection.Ping(true) before firing any query in DatagridBeforePaint, and merge code from ParseSelectedTableStructure into DBTreeFocusChanges. Fixes issue #2644 .
2011-12-14 21:11:51 +00:00
c980a17b00
Fix non logged errors, caused by late non executed code in a try block. Fixes issue #2646 .
2011-12-13 20:50:48 +00:00
1a15e89023
Use -- for line comments, not #, to support MS SQL also in export files.
2011-12-11 21:11:31 +00:00
268d868337
Fix wrong offset when stripping trailing comma for MS SQL table structure export. See http://www.heidisql.com/forum.php?t=9449
2011-12-11 16:51:06 +00:00
19ad738f7b
Ensure there are no open result sets when destroying open connections. Fixes an access violation when closing Heidi, caused by accessing Connection.mysql_somefunction() in TMySQLQuery.Destroy. See http://www.heidisql.com/forum.php?t=9508
2011-12-11 09:21:16 +00:00
6bcd6db60d
Encapsulate mysql_* functions as class methods of TDBConnection, and give each instance of TDBConnection its own libmysql handle. This way, we can release the lib handle after each disconnect. Also, this opens up some new possibilities:
...
* use different libmysql.dll versions per connection
* overload mysql_* functions
2011-12-09 21:11:37 +00:00
8ed065ea97
Do not modify SQL_MODE when exporting, just do that temporarily before creating triggers. Avoids running into errors when e.g. ANSI_QUOTES is turned on. Fixes issue #2619 .
2011-12-04 11:11:48 +00:00
53122fe2b1
Place "Preferences" item in system menu of session manager, so users are able to configure stuff without the need to connect first.
2011-11-27 14:45:51 +00:00
e2bcf0d723
Fix unresponsive updownPort + editPort when modifying its value. Broken in r3972.
2011-11-20 06:40:47 +00:00
23fd559c38
Ignore different column in ListSessions.FocusChanged event, so modifications do not get discarded silently when user clicks the "wrong" area.
2011-11-20 06:08:51 +00:00
f6588fb1fc
Add support for integrated Windows authentication on SQL Server. See http://www.heidisql.com/forum.php?t=8856
2011-11-19 08:43:10 +00:00
0b5a093c69
Adjust regular expression in ParseViewStructure so it gracefully matches broken code from SHOW CREATE VIEW. Fixes issue #2563 .
2011-11-18 15:42:23 +00:00
c63335ef3e
Remember column widths in data grid before clearing header. Fixes issue #2511 .
2011-11-17 18:49:32 +00:00
4b5847c641
Store selected database object and its properties in a copied TDBObject, instead of referencing an item from TDBConnection.FDatabases[x]. Not sure if that's a good idea as there may be logic somewhere which now updates the temporary copy, not the reference. But at least this fixes issue #2579 .
2011-11-16 19:20:07 +00:00
0ea3a2cdbb
Try again a fix for SynEdit exceptions, similar to what I've already tried in r3922. The approach was right, only there was Mainform.SetupSyneditors accessing all TSynMemos in a thread when reconnecting.
...
* fixes issue #2605
* should also fix issue #2545
* should also fix issue #2358 (again)
* reverts r3924 and r3925, SynEdit modifications which should not be required any longer now that logging is postponed for the mainthread
2011-11-14 23:14:41 +00:00
9dbb5d195c
Add new quick filter menu item "Column IN (...)". Fixes issue #2606
2011-11-14 20:47:09 +00:00
d07cfcb7c6
Provide option "tabs to spaces" in preferences dialog. For space reasons, move highlighter options to new tab "Highlighter". Also, unify padding on tab sheets, and move "Ask for saving files" option to "SQL" tab.
2011-11-10 23:27:02 +00:00
cb4775c328
Fix memory leak
2011-11-10 22:18:42 +00:00
53444c700a
Add "truncate table" feature to text import dialog. See http://www.heidisql.com/forum.php?t=9367
2011-11-10 22:15:42 +00:00
a69041d17d
Add support for Windows 7 task button progress. Unify all callers of ProgressBarStatus in a set of 5 functions in main unit instead of helpers, as this is where the progress bar is placed and also we need the handle of the main window.
2011-11-08 22:27:52 +00:00
f9e896fede
Unformat local formatted floats in WHERE clause for grid updates. Probably fixes issue #2558 .
2011-11-05 07:26:32 +00:00
968efc99f3
Export VIEWs with alternative version of SELECT code. Follow up to r3941, see issue #2546 .
2011-11-05 00:10:47 +00:00
242b128885
Populate database pulldown with dbs from current connection in export window. Fixes issue #2572 .
2011-11-05 00:07:23 +00:00
0e45ef0b12
Make regex for detection of VIEW name more stable against international characters. Fixes issue #2578 .
2011-11-04 23:08:21 +00:00
07b831c4e9
Confirm overwriting grid export output file. Fixes issue #2596 .
2011-11-04 18:45:05 +00:00
b93106a6fe
Update VirtualTree component to r320
2011-11-01 09:32:34 +00:00
26b6e06aa9
Fix non-used database in reconnect, caused by too early DoAfterConnect which triggers OnConnected event, which again triggers DBTreeFocusChanged which triggers grid updates. Fixes issue #2573
2011-10-15 08:16:35 +00:00
76ad894e52
Merge main menu items "Import" and "Export" into "Tools" menu.
2011-10-15 06:31:16 +00:00
c2412eed21
Take hidden primary key columns into account when tbtnDataColumns gets its ImageIndex.
2011-10-15 06:27:47 +00:00
6a87bfed9b
Place some reasonable messages on status bar while deleting (many) grid rows. Fixes issue #2576 .
2011-10-15 06:09:57 +00:00
01f3d30362
Add support for routine parameters in completion proposal of stored routine editor. Fixes issue #2555 .
2011-10-08 17:10:36 +00:00
bdc7c0c245
Sort font names alphabetically in SQL font selector. Fixes issue #2569 .
2011-10-08 16:45:50 +00:00
d7dd1886dc
Include sample editor on preferences dialog in SetupSynEditors, so settings get applied when preferences dialog opens. Fixes issue #2568
2011-10-08 16:41:06 +00:00
deb75f5c6a
Revert r3938, and add backticks around identifiers again, so ParseTableStructure can detect column for "copy columns" feature. Fixes issue #2540 .
2011-10-01 06:58:33 +00:00
85457c45b4
Delete node so treeIndexes.Repaint does not expect old children in moved up node. Todo: Bind FKeys to tree nodes if that's possible with deleted keys. Fixes issue #2557 .
2011-10-01 06:28:16 +00:00
1c55121a11
Deactivate toAutoScrollOnExpand in object selector, so 1st level nodes do not get out of sight when un/checking one of them.
2011-09-20 21:33:22 +00:00
65de4c482e
TMySQLConnection.GetThreadId requires the connection to be active. Fixes issue #2561 .
2011-09-20 17:23:36 +00:00
4e0d7fdcdb
Do not replace two single quotes which are not used to present one escaped single quote. Fixes issue #2560 .
2011-09-19 18:16:05 +00:00
b733fb8dc6
Primary key columns can be hidden in data grid. Pressing home key has to use first visible column instead of column 0. Fixes issue #2559 .
2011-09-18 09:44:05 +00:00
def0cbd45b
Fix broken link to plink.exe, prefer a link to the download page over the .exe, as that link is obviously randomly mirrored, while there are disappearing mirrors over time.
2011-09-14 20:49:59 +00:00
793ab83a20
Process escaped single quote in TDBConnection.UnescapeString. Mentioned in issue #2546 .
2011-09-05 19:55:51 +00:00
788e279fb8
Attempt to preserver original VIEW code, by selecting text from the server's .frm file. Fixes issue #2546 .
2011-09-04 13:17:32 +00:00
4ccb6391df
Issue #1289 : Add some basic code to the "analyze" button, which detects missing tables in target database.
2011-08-26 06:57:31 +00:00
12b158ba1c
Catch more types of potential exceptions in image preview box. See http://www.heidisql.com/forum.php?t=8980
2011-08-26 06:24:19 +00:00
94c1ecc81a
Remove redundant backticks in table editors CREATE and ALTER code. See http://www.heidisql.com/forum.php?t=9056
2011-08-24 05:50:51 +00:00
284c3410dc
* disable controls as long as no session is selected.
...
* check all option check boxes by default
2011-08-23 06:22:12 +00:00
d3087c1172
Add checkboxes to tree nodes in sync dialog, and ensure only table nodes of the same db are clicked at one time.
2011-08-23 05:54:49 +00:00
01ac4b40e3
Introduce new dialog "Synchronize database", see issue #1289 . Complex code behind "Analyze" and "Apply" buttons is missing yet.
2011-08-22 05:57:57 +00:00
b185459ada
Add "REPLACE INTO ..." to grid export output options. Fixes issue #2528 .
2011-08-21 06:21:57 +00:00