rosenfield.albert
d4c848649c
Bugfix: regression - accidentally masked exceptions from Reconnect().
2009-03-04 17:11:32 +00:00
rosenfield.albert
07964feb7c
Bugfix: don't use cached data if the connection is gone, as the Delphi TDataSet will croak. Fixes issue #858 .
2009-03-04 14:46:36 +00:00
rosenfield.albert
f4abdbef08
Add a bit more safety around Zeos' inconsistent API.
2009-03-04 14:45:00 +00:00
rosenfield.albert
1d94ad0156
Bugfix: close user manager form when no access to privilege tables.
...
Forms are not closeable with Close() inside FormShow, you must either return -1 in response to a WM_CREATE message, post a WM_CLOSE (seen that fail too though), or just do the check before showing the form.
2009-03-04 14:43:35 +00:00
rosenfield.albert
db1dc05fa3
Bugfix: really catch any exceptions as supposed to.
2009-03-04 14:16:58 +00:00
rosenfield.albert
1f112b6556
someone at MySQL...
...
... would have my balls for breakfast if he/she saw this ;-)
Fulfills rfe #383 .
2009-03-04 12:15:11 +00:00
Ansgar Becker
ff7eee92f3
Avoid using a workaround where none is needed
2009-03-04 07:22:37 +00:00
Ansgar Becker
bbfff2068f
Fix another bug showing up on application close, on slower CPUs and/or in combination with recycled forms. Could also fix issue #1003 (Cancelling connection form crashes HeidiSQL). Should be tested by the reporter.
2009-03-04 00:11:38 +00:00
Ansgar Becker
18d4942066
Fix AV on application close if usermanager was opened (or one of the other recycled dialogs). Nearly sure that this nails issue #1018 - the memory address points to forms.pas.
2009-03-03 23:53:11 +00:00
Ansgar Becker
bf2484a09e
Fix fatal loop on datagrid, broken in r2301
2009-03-03 23:38:58 +00:00
Ansgar Becker
a71210689e
Fix issue #1013 : Refreshing Process-List switches tab instead
2009-03-03 23:09:58 +00:00
Ansgar Becker
0bb025c250
Code cosmetic: Clean up ugly event name
2009-03-03 22:49:36 +00:00
Ansgar Becker
f7b0cfc92c
Fix tab order of controls on CREATE TABLE dialog
2009-03-03 20:34:11 +00:00
Ansgar Becker
593adf939c
Seems the IN/OUT is not consistently written in uppercase in SHOW CREATE PROCEDURE, probably server version dependent. Anyway, stable now.
2009-03-03 20:30:37 +00:00
Ansgar Becker
b66a62b9f8
Fix issue #1029 : Syntax Error on Procedure Routine, destroys PR
2009-03-03 20:24:58 +00:00
Ansgar Becker
7789a1d2fe
Fix bug #1030 : When creating a Procedure Routine, Tree does not update to show it
2009-03-03 19:22:38 +00:00
Ansgar Becker
6d8834b540
Fix issue #1025 and friends: Wrong tabindex in stored routine editor.
2009-03-03 19:18:03 +00:00
Ansgar Becker
4867fdbbff
Fix detection of parameters in SHOW CREATE PROCEDURE/FUNCTION
2009-03-02 21:57:49 +00:00
Ansgar Becker
5201b302de
Fix AV on app closing if maintenance dialog was used. Possible candidate for healing issue #1018 "Access violation on closing heidi".
2009-03-02 21:47:35 +00:00
Ansgar Becker
dbb84e6df9
Integrate stored procedures and functions into the GUI flow, so they are visible like tables and editable from everywhere.
...
- FetchDbTableList now makes use of various tables in INFORMATION_SCHEMA if available - the only way of listing stored routines.
- If a routine is selected, Table + Data tab hide their grids and display a corresponding message instead. Seemed the only way to keep the normal flow of clicks, not changing too much click logic.
2009-03-02 21:40:44 +00:00
Ansgar Becker
36c8937abb
Remove feature "Prefer SHOW TABLES for performance reasons" and support for pre 3.23 servers
...
* Leads to unpredictable errors in special cases
* Advantage over SHOW TABLE STATUS is hardly measurable
* Makes integrating stored routines into the database tab complex and unstable for the benefit of nothing
2009-03-01 10:34:39 +00:00
Ansgar Becker
a1f6c628ef
Minor Vista font fix for parameter list in routine editor
2009-03-01 07:33:09 +00:00
Ansgar Becker
bdd0630a44
Fix issue #1017 : missing disconnect button in toolbar
2009-02-28 23:20:56 +00:00
Ansgar Becker
aeeea43235
Slightly enhance button storm on main toolbar - issue #738 .
2009-02-28 23:16:17 +00:00
Ansgar Becker
f20dad8adb
Implement stored routine editor, see issue #420
...
Todo: make routines visible in the database tab so they can be edited.
2009-02-28 22:57:55 +00:00
Ansgar Becker
42e969cbcd
Fix issue #991 : Termination char ; in SQL log.
2009-02-22 13:50:44 +00:00
Ansgar Becker
00cf179e31
Fix issue #1011 : Updated status of number of exported rows doesn't delete characters of previous longer status message
2009-02-21 12:17:53 +00:00
Ansgar Becker
f8b34d380a
Fix wording in auto refresh dialog
2009-02-20 07:24:45 +00:00
Ansgar Becker
e009be16f9
Revert r2211 to fix issue #1005 : Update mechanism doesn't restart application
2009-02-18 21:36:04 +00:00
Ansgar Becker
edc2d538d3
Fix issue #1000 : export tables - sql syntax error. Escape null characters so they don't cut a string somewhere after escChars was called.
2009-02-18 19:42:01 +00:00
Ansgar Becker
0d6cada653
Finalize performance fix from r2278: Discard node data prior to calling EnsureChunkLoaded with FullWidth.
...
* makes it superflous to call EnsureFullWidth for any previously loaded nodes - significantly faster now
* no need to have a unique key in the selected table any longer
2009-02-16 23:15:49 +00:00
Ansgar Becker
e16ee4b086
Fix sporadic AV while unhiding grid in GridToXYZ actions.
2009-02-16 20:40:49 +00:00
Ansgar Becker
dcecedd5ba
Fix poor performance in GridToXYZ actions on tables with lots of larger text columns: EnsureFullWidth called lots of mini SELECTs. Now, EnsureChunkLoaded is called with FullWidth=True in relevant places. Only already loaded data still has to be completed with EnsureFullWidth - which could be optimized by discarding all loaded data first, but then again this could result in a waste of SELECTs in taller tables.
2009-02-16 20:37:13 +00:00
Ansgar Becker
26a5713c27
Performance fix: EnsureChunkLoaded should be called in a node, not cell context (which is way too often)
2009-02-16 19:51:33 +00:00
Ansgar Becker
c726dddd4a
Fix GridToXYZ actions for query grid - warned about a missing unique key although the query grid does no delayed loading. (Broken in r2236)
2009-02-16 19:22:46 +00:00
Ansgar Becker
3d44b6715f
Implement issue #963 : Open session manager without new main window
2009-02-15 20:40:56 +00:00
Ansgar Becker
362c327b81
Naming convention: Consequently use "session", not "description", and retitle connections.dfm to "Session manager"
2009-02-15 20:11:14 +00:00
Ansgar Becker
2e1894b7e1
Normalize component names and procedures in session manager
2009-02-15 19:32:40 +00:00
Ansgar Becker
549abf9441
Implement "Save as" action in session manager. See issue #951 . Optimizes some redundant code away.
2009-02-15 14:32:58 +00:00
Ansgar Becker
049f709f36
Implement "Yes, overwrite all and don't ask me again about that" button in export to directory, see rfe #880
2009-02-14 13:48:53 +00:00
Ansgar Becker
64fbf61e5b
Do not add empty filter to recent filter list
2009-02-14 09:01:15 +00:00
Ansgar Becker
3bf3fd3ea5
Fix disabled apply button after clicking the "also nightly builds please" checkbox.
2009-02-14 08:54:35 +00:00
Ansgar Becker
da6606f9bc
Always keep OK button enabled in preferences dialog. Seems to confuse users and lead to wrong bugreports.
2009-02-14 08:51:14 +00:00
Ansgar Becker
eae5df8698
Keep grid x + y scroll offset after refresh
2009-02-13 20:57:26 +00:00
rosenfield.albert
f09572174a
Bugfix binary readout in HTML view function. Also, rename it to 'image view' in the GUI, because that's what it is.
2009-02-12 16:40:20 +00:00
rosenfield.albert
6c4be0349c
Bugfix: when 'view as html' was clicked and non-image binary data was encountered, an unchartered code path would be taken and a preview without a usable file extension would be generated. Now, unrecognizable binary content is stuffed in a text file.
...
Fixes issue #938 .
Also, the GUI action should probably be called "image view" rather than "HTML view"?
2009-02-12 15:40:25 +00:00
rosenfield.albert
a59dc8f1c8
Bugfix: text on menu item is wrong.
2009-02-12 15:20:48 +00:00
rosenfield.albert
072280059a
Bugfix: Get rid of chinese characters when loading a file into a field. The file is now considered binary data, and will be typecast to whatever character set the column imported into has.
...
To correctly import files, the user needs to first find out which character set the file is (using eg the unix 'file' utility, or whatever), then change the column charset in the table to match that type, then finally use 'insert files into fields' to insert the file contents.
2009-02-12 15:17:12 +00:00
Ansgar Becker
906208c4af
Enable copying any grid cell to clipboard by activating extended focus option in relevant VirtualTrees and adding a "Copy" menuitem to their context menus. Fixes issue #984 : Add "Copy query" to Process-List table in Host tab/view
2009-02-11 19:53:23 +00:00
Ansgar Becker
d752a67a59
Fix bug #976 : Setting database defaults
2009-02-09 22:54:46 +00:00