8d73413de8
Fix and enhance handling of multiple statements and multiple results:
...
* TMySQLConnection.Query did not process further results if the first one is a non-result. Instead, it disconnected you as the required mysql_store_result() was never called. Fixed now. Should fix the error described here: http://www.heidisql.com/forum.php?t=11049
* Cache result of SHOW VARIABLES, and introduce a MaxAllowedPacket function, which benefits from that cache
* Do not limit the number of statements in "batch in one go" mode, only limit its size. This is to minimize the number of sent packets for a huge numbers of very small queries.
2012-08-27 22:56:12 +00:00
90ab0b6cf1
Refactor logic for reading and writing application and session settings:
...
* Introduce TAppSettings, created in dpr file
* Implement read and write methods, and replace callers of GetRegValue and MainReg.WriteInt/... with these
* Optimize read and write methods for avoiding redundant accesses to registry
* Auto-remove stored default settings from registry to avoid registry spam
* Replace synced MainForm.pref* variables with TAppSettings.Read* calls
* Move SetLocales call to dpr file
* Move MainForm.FDirname* variables to appropriate methods in helpers.pas
* Implement TQueryHistory.Create(SessionPath), reading its items within constructor
2012-08-19 10:55:08 +00:00
56e0d8b445
Implement session folders. Fixes issue #1228 .
2012-07-27 06:54:56 +00:00
08ec09c3dd
Fix issue #1031 : Have folders for tables, views, routines in database tree.
2012-07-19 07:07:50 +00:00
e2f09b0d8d
Make local timezone feature a per session option. See http://www.heidisql.com/forum.php?t=10635
2012-05-25 17:46: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
276797ed52
Code cosmetic: Move MODIFIEDFLAG to const.inc
2012-04-26 04:44:36 +00:00
a9260a49d6
Fix black tree background, broken in previous commit.
2012-04-22 12:10:06 +00:00
6ef3d17042
Use home brown file format for exporting and importing registry settings, as used for portable_settings.txt. Registry dumps cannot be imported into a separate registry key for a portable instance, which is hereby fixed, see http://www.heidisql.com/forum.php?t=10503 .
2012-04-09 17:40:12 +00:00
8a1fa0efc8
Forgotten file in previous commit.
2012-03-19 23:51:34 +00:00
3370a6a4da
Add menu item for launching mysql.exe command line with current parameters. Fixes issue #2728 .
2012-02-28 23:34:58 +00:00
cedf5d888e
Introduce new preference option "Prefill empty date/time fields". Fixes issue #2708 .
2012-02-27 22:36:48 +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
a86650d10b
Introduce a checkbox for explicit activation of SSL. Any combination is passed to the server now, while SHOW STATUS LIKE 'ssl_cipher' is used to find out if the connection is indeed SSL secured. Pops up a warning when SSL settings were ignored by the server. Fixes issue #2672 .
2012-01-22 10:17:24 +00:00
0eaccc3938
Make session list and details pagecontrol custom resizable via splitter. Also, do not auto-adjust column width in session list, which has funny effects in some cases.
2012-01-02 07:53:24 +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
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
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
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
783cbdbcc0
Save and restore settings in table tools dialog. Restore server selection only in export mode. Fixes issue #2520 and non-restored previous file settings.
2011-08-14 10:15:09 +00:00
3824e552fe
Rewrite import file dialog: Use a grid for column values, distinct between binary and text files
2011-07-11 06:13:50 +00:00
2ed5c39916
Do not force quotation when identifier contains underline char.
2011-06-24 22:02:22 +00:00
ed577e4482
Detect MariaDB, and use MariaDB icon in session manager, status bar and database tree.
2011-06-10 22:26:13 +00:00
5e1d4645d2
Remove unused global constants
2011-05-27 20:16:04 +00:00
624863d5e1
Store and restore state of multi queries option. Fixes issue #2384 .
2011-05-05 17:19:22 +00:00
3c11e6c5a8
Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499 .
2011-04-28 07:33:49 +00:00
77c5b3e219
Fix window placement problems due to multi monitor setup and restored minimized window state. Fixes issue #2372 . See also http://www.heidisql.com/forum.php?t=8126
2011-04-16 16:34:59 +00:00
4fbf2c23dd
Introduce experimental MS SQL support
2011-03-29 23:20:21 +00:00
1c279fd85b
Exclude chars between ord(Z) and ord(a) in non-quoted identifiers. Fixes issue #2293 .
2011-02-03 22:00:34 +00:00
199d7c6e0f
Make plink.exe wait timeout configurable in session manager. Fixes issue #2236 .
2010-11-28 12:47:00 +00:00
ffb99d8962
Add right click option to toggle visibility of horizontal scrollbar in SQL log. http://www.heidisql.com/forum.php?t=6984
2010-11-24 23:39:22 +00:00
6f95a796e1
Modify identifier quoting logic:
...
- Move QuoteIdent() and DeQuoteIdent() out of TMySQLConnection, make them classless
- Remove TMainForm.mask(), instead always use QuoteIdent()
- Introduce a third parameter to QuoteIdent(): "AlwaysQuote" - setting this to false will quote only if required
- Set AlwaysQuote to false for all stuff which drops some code into the query editor, see http://www.heidisql.com/forum.php?t=6986
2010-11-24 23:12:13 +00:00
98300c9bd5
Make SET cell editor resizable, and store and restore its dimensions. Fixes issue #2212 .
2010-11-13 21:16:36 +00:00
be3e393534
Add "case sensitive" checkbox to "Find text on server" dialog. Fixes issue #2199 .
2010-10-23 07:07:55 +00:00
0fa6c15c9d
Implement multiple connections per window. DBtree and friends now have their nodes bound to TDBObject instances. Fixes issue #2144 .
2010-10-05 23:06:29 +00:00
f42c62638c
Display parameters of stored routines in completion proposal. Fixes issue #2149 .
2010-09-20 22:12:07 +00:00
243a553d9d
Make prompt to save modified SQL text customizable. See http://www.heidisql.com/forum.php?t=6373
2010-09-19 18:52:22 +00:00
22f9fa176b
Make "Wrap long lines" button work globally, for all SynMemos except the SQL log. Also, store and restore its state when closing/opening HeidiSQL. See forum post: http://www.heidisql.com/forum.php?t=6476
2010-09-19 13:46:55 +00:00
6cd5673a21
Remember sorted column and its sort direction, across sessions. Requested via forum: http://www.heidisql.com/forum.php?t=6419#p6423
2010-09-16 19:04:25 +00:00
a08d0d9949
Remove feature: "Skip tables larger than X MB". Fixes issue #2153 .
2010-09-08 18:16:30 +00:00
b16b7010a2
Issue #2134 : More enhancements for text import dialog:
...
- Add option to unformat local numbers from file contents
- Add option "Low priority" again
- Fetch warnings and notes via SHOW WARNINGS, display them in log panel and leave dialog open if there are any
- Inform user if 0 rows were imported and display hint about what could be the cause
2010-09-05 10:33:39 +00:00
b51123ee2c
Reorganize "import textfile" dialog, and implement an own CSV parser, selectable as an alternative to the LOAD DATA method. Fixes issue #2134 .
2010-09-03 22:22:23 +00:00
88e7f7aa05
Implement query profiling in helpers box. Enhance usability of turning the listbox + tabset into a tree, with 5 root nodes instead of 5 tabs. Fixes issue #902 .
2010-08-13 19:42:54 +00:00
25fb0ed266
Refactor code in SQL help dialog, replace the TTreeView with a VirtualTree.
2010-07-31 17:16:08 +00:00
8c34a9e15a
Session manager: Add checkbox option for users who want to be prompted for username + password rather than saving that to registry. Prompt window itself is called from within TMySQLConnection.SetActive.
2010-07-19 20:06:09 +00:00
2796965146
Remove 3 dead constants
2010-07-11 20:13:53 +00:00
5757899eaa
Bring back database filter pulldown, for users who dislike to create one session per filter. Fixes issue #2054 .
2010-07-04 10:59:46 +00:00
ff1467c749
Remember state of WordWrap button on text and hex editor. Fixes issue #2055 .
2010-07-02 23:08:06 +00:00
63be11dd14
Implement recent filters in "Copy table" dialog, selectable via button + dropdown menu.
2010-06-15 18:36:58 +00:00
c0da6e5a21
Refactor "Copy table" dialog:
...
* Replace checkboxes, radio buttons and checklistbox by a VirtualTree using checkbox support
* Support selecting/deselecting single indexes
* Support foreign keys
* Place a SynMemo at the bottom in which the user can type an optional WHERE clause to filter incoming data. Fixes issue #2000 .
* Move code for SQL generation into TTableColumn etc.
2010-06-14 00:21:33 +00:00