23 Commits

Author SHA1 Message Date
a2ef629b81 Move "Databases" filter from session manager to an editable combobox below the database tree. Keeps session manager free from connection unrelated stuff, provides more comfort, adds a "recently used list" of old filters which is kept over session connects, and supports regular expressions now. Fixes issue #776 2009-08-27 22:18:50 +00:00
45eba2139c Examine query error messages for "(errno: 123)" and add the more meaningful message returned by perror.exe . Adds a static error message list from my local 5.1.22 server. This is especially helpful in the foreign key editor, where any InnoDB error seems to be the more cryptic one by default, while there are lots of possible error causes. See issue #400. 2009-08-23 22:53:52 +00:00
4ff1acf408 Refactor session manager:
* Replace the pulldown by a list to get a better overview
* Display last connected and created date in details
* Prompt user on form closing if modifications should be saved
* Remove moreorless useless image
* Remove options "timeout" and "sort database"
TODO: Display some help text on the right side when no session at all is existant to help new users.
2009-08-09 23:57:52 +00:00
0e341f19cb Implement connecting via named pipe. Code contributed by gabylastar, minor modifications by me. Fixes issue #520. 2009-08-08 19:06:41 +00:00
1d0b3d2b85 Bugfix: avoid mangling newlines when sending SQL to Zeos. Fixes remaining part of issue #1094. 2009-04-28 20:06:35 +00:00
db1dc05fa3 Bugfix: really catch any exceptions as supposed to. 2009-03-04 14:16:58 +00:00
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
d6e40bef96 Use Main.SessionName as a replacement for FConn.Description. 2009-01-03 19:22:22 +00:00
03550f32a0 Fix redundant "USE xyz" queries firing before each query while working in a database with weird characters in its name. 2008-08-19 22:02:26 +00:00
79d8db08b3 Support Unicode in list of wanted database names. 2008-08-19 21:35:04 +00:00
8ca2138a48 * Remove unused code paths.
* Raise flag when a bug occurs.
2008-07-08 14:56:09 +00:00
dced2df45e Make query execution unicode safe, mainly for a bunch of procedures and functions in Heidi itself plus various neighbours in Zeos. 2008-06-17 17:06:01 +00:00
e7bcbdf293 * Bugfix: plug the most obvious memory leaks.
* Clear some unused code and wrong comments.
2007-11-09 09:51:31 +00:00
51c23000f9 Correct some code comments. 2007-11-09 07:59:14 +00:00
727e79aa33 Parameter checking is not useful here, at least not until Insert Files makes use of the query thread. 2007-11-09 07:55:10 +00:00
7cc7007de1 Fix one memory leak in threaded queries (detected by testing and comparing, using taskmanager) 2007-11-04 13:23:47 +00:00
a89b1df396 Fix a bug in threaded queries: The query thread sometimes didn't call SetThreadResult. (with a good hint from rosenfield).
Fixes at least two things:
- Rely on getting an exception when calling ExecUpdateQuery with erroneous SQL (fx the field editor does that sometimes when you update a TIMESTAMP field
- Executing queries from the query editor, receiving "Cannot perform this operation on a closed dataset"
2007-10-12 18:37:34 +00:00
4232f36909 * Remove spam.
* Improve performance by not painting the progress form if a query completes within 300 msecs.
2007-10-08 21:52:59 +00:00
d33be19be0 Nuke ExpectResultSet. Opted not to disable the mysql driver exceptions in zeos, instead used Anse's TZConnection.GetAffectedRowsFromLastPost().
(Messing with the internals here, please test...)
2007-10-05 18:52:38 +00:00
fccb838455 Bugfix: Handle errors which happen during "async" query execution. 2007-10-05 13:03:24 +00:00
996de281d7 * Bugfix: Properly propagate exception when editing forbidden (access denied) data in a grid.
* Cosmetic: Fix haywire indentation in TMysqlQueryThread.Execute.
2007-08-29 01:48:28 +00:00
c79febe7b4 Defer execution of TDataSet Post() and ExecSQL() to background thread. 2007-06-30 00:25:11 +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