12 Commits

Author SHA1 Message Date
bf401df253 * Implement Pos2, which takes a start parameter.
* Mask USING {BTREE,HASH,RTREE} from older servers. I wonder why mysqld doesn't do this by itself. Fixes issue #1779065.
2007-08-29 00:49:40 +00:00
80a64fff0b Produce less spam when exporting empty tables. Set your differ to ignore whitespace. Fixes issue #1779063. 2007-08-29 00:20:57 +00:00
0ee7e15e4b Only show tables in the "export tables" window, do not include views.
(Views need to be exported last for an import to work properly, which is a better solution - should do that at some point.  Other stuff needs to be exported too, stored procedures etc).  Fixes issue #1779068.
2007-08-29 00:12:57 +00:00
3f0b70c409 Switch ListColumns from TSortListView to TVirtualStringTree
Additionally/Sideeffects:
- Fix vstFreeNode to delete the item from the array, not only free the item itself
- Change/Rename GetSelectedNodesFromVT to GetVTCaptions and give it the ability to return all captions, not only the selected. This function is very useful now and saves writing much redundant code.

A table with 500 columns needed 3 seconds to display in the TSortListView, now that takes less than a half second.
2007-08-27 00:01:53 +00:00
9068f08609 Convert ListTables from TSortListview to TVirtualStringTree
Additionally/Side effects:
- TVTreeData structure moved to helpers.pas to be able to use it in new function GetSelectedNodesFromVT.
- ListTablesEditing dropped. We don't need to disable any shortcut there because there is none set.
- Avoid potential AVs when accessing not created items in TVTreeData.Captions
2007-08-25 00:08:31 +00:00
75387fb490 Bugfix: export to database needs to know the current character set. 2007-08-21 20:17:32 +00:00
b015b87fcb Fix confusion with TYPE/ENGINE in CREATE TABLE statements. On target versions below 4.1.2 we now use "TYPE", "ENGINE" on all other versions.
Was discussed here:
http://www.heidisql.com/forum/viewtopic.php?p=1226#1226
2007-08-13 23:25:20 +00:00
b7cdd2b4cd Foreign Key support on ExportSQL: fixSQL for ANSI SQL compatibility 2007-08-09 17:44:23 +00:00
5d62871cb4 Foreign Key support on ExportSQL, prevents errors on dump import. 2007-08-08 16:31:25 +00:00
d05a4fedb9 Detect max_allowed_packet also when exporting to a file. 2007-07-23 20:47:26 +00:00
efcc58f7bb Fix firing queries on correct DB when user selects another DB in "Source" tab. Broken in rev 687. 2007-07-04 20:10:39 +00:00
3c8f123a81 Move *.pas, *.dfm and *.inc files from root directory to a new "source" subdirectory. Leaving just the readme in the root to give all newbies a very clear and unique starting point. 2007-06-28 20:00:04 +00:00