a08d0d9949
Remove feature: "Skip tables larger than X MB". Fixes issue #2153 .
2010-09-08 18:16:30 +00:00
bad9c2cec3
Attempt to fix nil pointer exception (issue #2157 )
2010-09-08 17:12:04 +00:00
f323420ef1
Enable TDBObject instances to return and cache their own CREATE code, and replace various manual SHOW CREATE xyz occurrences with this new function call. Additionally, modify ParseViewStructure so it takes the CREATE code instead of just the VIEWs name, so it works similar to ParseTableStructure and ParseRoutineStructure. Finally, take this CREATE code to detect all settings for a VIEW, instead of taking them from information_schema.VIEWS. Fixes issue #2131 .
2010-09-07 20:58:48 +00:00
0598e78d16
ResetNode deletes children and causes follow up AVs in RefreshActiveTreeDB in conjunction with changing focused node - happens when a modified table is left and user presses "Yes" to save changes. Instead, deinit database node lame, per Node.States. Fixes issue #2147 .
2010-09-05 23:20:41 +00:00
b622ad3f50
Throw away query profile result on disconnect, to avoid follow up AVs somewhere in TMySQLQuery.SetRecNo where the connection object still seems being used. Also, reinit helper tree nodes lame instead of immediately, as InitNode() has code which expects the relevant query tab to be open currently.
2010-09-05 22:58:53 +00:00
a13493959e
Refresh column names in helper tree after altering a table. Fixes issue #2141 .
2010-09-05 22:23:52 +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
461a50df40
Increase wait interval for externally run plink.exe from 1 to 4 seconds. Works around having the program left before it could establish a connection. See issue #1914 .
2010-08-30 20:00:18 +00:00
36298ca567
Code cosmetic: Move code for initializing default properties of a TDBObject from TMySQLConnection.GetDBObjects (where this is done multiple times) to TDBObject.Create.
2010-08-28 15:22:40 +00:00
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