b87745d0d3
Implement fetching multiple results from one query, e.g. from a procedure call. Fixes remaining stuff in issue #1135 .
2010-08-28 15:17:10 +00:00
68eea80072
Update MySQL functions array with newer documentation text.
2010-08-27 17:00:49 +00:00
a64b9412ef
Some random server versions have duplicated category names in help tables, which cause infinite tree recursion in help tree, e.g. for "Polygon properties" > "Contents". Do not display these duplicates as folder to avoid infinite recursion. Fixes issue #2135 .
2010-08-26 00:02:10 +00:00
961f7f0f3f
Implement copy + paste menu items for duplicating columns across tables via SQL code. Fixes issue #1848 .
2010-08-24 20:33:01 +00:00
f8598f3d04
Revert r3493 which should have fixed issue #2128 - in fact it breaks it.
2010-08-23 22:35:07 +00:00
d15f4ca1a2
Reinitialize child node count in indexes tree after deleting one index. Fixes issue #2129 .
2010-08-23 20:19:59 +00:00
dd051b95ac
Internally cancel modification on running table editor when dropping its db object. Avoids asking for modifications after dropping, which then results in SQL errors. Fixes issue #1881 .
2010-08-21 21:20:58 +00:00
8076f9b483
Reset used database name when focusing 1st level node. Fixes issue #2091 .
2010-08-21 14:20:27 +00:00
c93c8ffdb0
Update row count in data tab top label after deletion and update actions. Fixes issue #2039 .
2010-08-21 13:28:00 +00:00
360152740a
Use Cromis.DirectoryWatch class by Iztok Kacin (BSD licensed) to detect external changes on loaded sql files. Fixes issue #1981 .
2010-08-21 11:54:06 +00:00
56acceee6d
Do not restrict search + replace dialog to query tab editors, but to all available, non-readonly TSynMemo's, like it was already the case for actReformatSQLExecute. See issue #2132 .
2010-08-20 06:10:25 +00:00
91f5375e66
Be ungreedy in regular expression when finding end of comment position. Fixes issue #2130 .
2010-08-19 16:46:26 +00:00
2893fb3a52
Activate forgotten incremental search in helpers tree.
2010-08-19 06:09:45 +00:00
b4481c617f
Switching back to poDefaultPosOnly, fixes issue #2128 .
2010-08-18 22:32:51 +00:00
5a26c07aa2
Use the right grid reference in column loop. Fixes issue #2115 .
2010-08-18 07:16:51 +00:00
6d77dc33ca
When double clicking a helper tree, the query editor should only get focus if there is non empty text. First level nodes never create text but double clicking them stole focus.
2010-08-18 06:47:38 +00:00
8bd5388f73
Optimize room usage in helper tree, so it works even when resized to a minimum width. Fixes issue #2126 .
...
* Make sure 2nd column never takes more width than 1/3 of the tree
* Set TextMargin from 4 (default) to 0, so every text moves to their icons
* Enable toAutoSpanColumns, so cells with an empty 2nd column expand their text to the right if needed
2010-08-18 06:42:55 +00:00
68ce02d3a9
Adjust loop over exported table rows in a way that we do not assume some average length for the next row. Avoids exceeding max_allowed_packet in any case (except for cases of tables with 1 gigantic row). Should fix disconnects and follow up errors like issue #2121 finally.
2010-08-17 17:29:36 +00:00
a4d16e17ee
Cosmetic: Display length of log line as byte/kb/mb/... unit.
2010-08-17 17:00:52 +00:00
3036f64a31
Check registry data type before assuming it's a string. Fixes issue #2127 .
2010-08-17 16:59:08 +00:00
54d0d91a9c
Decrease maximum exported SQL length per query, to satisfy users with large row sizes, avoiding a disconnect. Fixes issue #2121 .
2010-08-17 07:47:28 +00:00
73170588b7
Fix AV in cases of reconnection between firing user queries.
2010-08-17 07:26:21 +00:00
bc8bd6d1df
Query grids did not get freed when not closing the parent query tab. Followed by AVs triggered by old grid(s) still hanging around in memory. Broken by r3477 as a fix for issue #2107 . Fixes issue #2124 .
2010-08-17 07:25:04 +00:00
7cedc84823
Display progress bar when deleting rows in 1 or more tables via action "Empty table(s)". Also, use TRUNCATE on all server versions. Don't know why I did that per DELETE FROM on servers below 5.0.3. See http://www.heidisql.com/forum.php?t=6285
2010-08-16 19:50:24 +00:00
5021ddaa2a
Revert r3478 - throws the same SQL error, now on all exports. Reopens issue #2121 .
2010-08-16 19:31:44 +00:00
c3d9e9a7b4
Show progress bar while deleting grid rows. Fixes issue #2116 .
2010-08-16 07:06:36 +00:00
d9b2c98150
ActiveQueryHelpers should return nil instead of raising an exception, when called from outside a query tab. Fixes issue #2122 .
2010-08-16 06:57:22 +00:00
0edb542288
Clear fixed query editor on tab doubleclick. Fixes issue #2110 .
2010-08-16 06:52:56 +00:00
f97d1e636a
When an export process implicitly reconnects at some point, an earlier set variable is lost and points to NULL, which results in an SQL error for "SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS". Try to fix that with an IFNULL conditional clause. Fixes issue #2121 .
2010-08-15 18:39:39 +00:00
faa107c3be
Destroying a grid owned by a query tab sheet while the tab sheet gets destroyed results in an AV. Fixes issue #2107 .
2010-08-15 15:23:35 +00:00
455792dc3b
Unescape escape sequences in table comment when loading a table into the table editor. Fixes issue #2118 .
2010-08-14 15:36:56 +00:00
733799db17
Fix compiler notice - remove unused variable.
2010-08-14 07:04:36 +00:00
3139169ca2
Optimize length of lines in auto created table wide filter
2010-08-14 06:38:49 +00:00
985bd5583f
Minor code cosmetic: Avoid typecasting where we have a generic object.
2010-08-13 20:05:42 +00:00
7ea2672a2b
Add a safety check to avoid AVs in rare situations, where the number of db objects has been decreased from outside. Fixes issue #2114 .
2010-08-13 20:03:28 +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
049c2d9e11
Add icons to subtabs in "Host" tab, making it easier to find the right tab.
2010-08-01 10:45:52 +00:00
95554f6f44
Fix too wide recent filters combobox, missing change for r3463.
2010-07-31 17:19:32 +00:00
25fb0ed266
Refactor code in SQL help dialog, replace the TTreeView with a VirtualTree.
2010-07-31 17:16:08 +00:00
b13ce034be
Store last session name at disconnect time instead when when connecting. Fixes issue #2102 .
2010-07-26 19:16:59 +00:00
b3526fa9d1
If a session is configured to prompt for username + password, only prompt on the initial connect, not on each reconnection, which is annoying and superfluous.
2010-07-24 13:32:09 +00:00
33ff2e95d3
Add button right besides recent filter pulldown menu, for clearing data grid related stuff for selected table, session or all sessions. Fixes issue #2096 .
2010-07-24 13:23:17 +00:00
c297024b60
Minor code cosmetic
2010-07-20 07:55:32 +00:00
d58265372f
Apply more unique icon to SQL export action, so it has a different one than the grid export action.
2010-07-20 07:53:46 +00:00
f6e915b8d3
Table editor fails to detect the default collation on some tables. Fetch it from SHOW TABLE STATUS instead as fallback. See http://www.heidisql.com/forum.php?t=6202
2010-07-20 07:42:39 +00:00
8e17e4a999
Fix date time grid editor for YEAR data type. Fixes issue #2078 .
2010-07-20 06:29:14 +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
9c3488b457
Add context popup menu on column list which allows hiding/displaying single columns. Also fixes hidden collation column after having introduced the new zerofill column in r3441.
2010-07-17 15:10:11 +00:00
f49c871d31
Immediately call popup text editor for cells which either contain line breaks or huge text over 100k. Fixes issue #1651 .
2010-07-16 17:44:56 +00:00
e3f7072df0
Fix query splitter: "DELIMITER xyz" must be followed by some space char, this is not optionally. Broken in r3432. Fixes issue #2092 .
2010-07-16 17:17:49 +00:00