Ansgar Becker
88c23b9705
Fix enabled-status of "Move column from or to index" buttons.
2007-09-28 21:39:29 +00:00
rosenfield
9409c798ab
Remove ActualDatabase and ActualTable variables, plus various minor optimizations that ensued from said change. Fixes a problem where when:
...
- viewing data in a table
- switching to query tab
- pressing master refresh
some of the tabs would disappear.
2007-09-11 15:58:47 +00:00
Ansgar Becker
970d267a23
Implement feature wish #1779324 : Support for field COMMENT in ListColumns and field editor.
2007-09-06 14:39:11 +00:00
Ansgar Becker
16c0ac36b3
MySQL 4.0.1 and above allow moving a columns position within an ALTER TABLE statement. Use that to overcome various risks of the manual mechanism for older servers.
2007-09-03 09:38:20 +00:00
Ansgar Becker
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
Ansgar Becker
618d34ec3d
Convert ComboboxKeys on the index-editor from a standard TCombobox to a TComboboxEx. Avoids/removes hackish code for drawing icons on items.
...
Also create some imageindexes constants to const.inc where they will be useful for other units.
2007-08-02 22:26:02 +00:00
Ansgar Becker
d96cf89849
Remove unused form-variable.
2007-08-02 21:29:14 +00:00
Ansgar Becker
74f056b708
Optimize updating indexes: Do the ALTER TABLE query in one go, not in one per changed or new index. So the server only has to rebuild the index file once. Especially changes on big tables with big fulltext indexes benefit from this optimization.
...
Also ensure the window stays open if any SQL error occurs on applying changes to the indexes, so the user doesn't has to check all changes again in that case, just fix the incorrect option and click OK again.
2007-08-02 21:22:45 +00:00
Ansgar Becker
6a4a5cc1ad
Followup to rev 770: Fix declaration of TButton and TabOrder property automatically added by IDE.
2007-07-28 06:50:48 +00:00
Ansgar Becker
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