2498 Commits

Author SHA1 Message Date
f4b19d1351 Remove TMainForm.AllDatabasesDetails, and implement a collation property in TDBObjectList, queried from information_schema.schemata. Removes a moreorless useless queries for objects in information_schema, which probably causes crashes when badly timed, like described in issue #2537. 2011-08-21 05:45:09 +00:00
3170702b5b Unify usage of log prefix in db connection. 2011-08-20 05:31:02 +00:00
eaadfb3f60 Implement TDBConnection.GetServerVariables, and use that in various places. Also, indicate Percona server version using version_comment variable. See http://www.heidisql.com/forum.php?t=8035 . 2011-08-19 06:27:00 +00:00
da96a7c412 Implicitly activate backwards search when replacement string contains \n, to overcome the multi line bug described in previous commit. Suggestion from michaelgang, see http://www.heidisql.com/forum.php?t=8977 2011-08-18 10:50:59 +00:00
fe2d5149a5 Add support for \t and \n for replacement in search+replace dialog. Accepting a multi line bug in SynEdit, which forces the user to search backwards when using \n in replacement. See http://www.heidisql.com/forum.php?t=8977 2011-08-18 06:41:49 +00:00
d19fc1cf0e Fix distinction of idle/busy processes on MS SQL 2011-08-17 06:29:16 +00:00
0f881d2a13 Cache result of thread id. On MS SQL this is a real query which spams the log history. And mysql_thread_id() crashes when connection was killed. 2011-08-17 06:17:47 +00:00
a170149801 Revert previous commit, which does not fix issue #2358 2011-08-16 06:38:18 +00:00
22b3f8a980 Try to fix crashes in SynEdit repaints after reconnects, by catching threaded log items and postpone them for later, in AfterQueryExecution which is synchronized with the main thread. I could swear yesterday I got the same exception here but today it's working like a charm. Probably fixes issue #2358. 2011-08-16 06:16:46 +00:00
858aa92677 Fix wrong icons in process list, use a different "idle" icon, and indicate broken and own thread with an overlay icon. 2011-08-15 06:01:02 +00:00
783cbdbcc0 Save and restore settings in table tools dialog. Restore server selection only in export mode. Fixes issue #2520 and non-restored previous file settings. 2011-08-14 10:15:09 +00:00
e58d033342 Handle build download errors in update checker. Fixes issue #2512. 2011-08-13 05:38:20 +00:00
cb8c233a10 Do not double quote filter values since esc() now expects a DoQuote parameter. Broken in r3908. Fixes issue #2510. 2011-08-01 20:27:58 +00:00
1f75acc999 Fix non-overtaken grants when user clicks "clone user". See http://www.heidisql.com/forum.php?t=8943 2011-07-30 08:20:51 +00:00
6dd8ff5dad Use newer logo in about box, and consolidate credits text. 2011-07-25 21:38:25 +00:00
ede08e591e Fix wrong offset of home brown UNIX timestamp. Fixes issue #2507. 2011-07-25 21:34:32 +00:00
807fd94fa7 ParseTableStructure does an implicit reconnect via GetCollationTable, lately, after a first column is already created. Do a manual ping at the very start so columns are correctly shown, e.g. in data tab. Fixes issue #2484. 2011-07-23 18:57:33 +00:00
3348cc879a Support length for TEXT columns in table editor. Looks a bit undecided in MySQL, as MEDIUMTEXT e.g. has no length attribute. However, fixes issue #2505. 2011-07-23 18:11:44 +00:00
48ed802352 Usermanager: Support CREATE TABLESPACE privilege in MySQL 5.4.4 and up. See 5.4 manual for version. And add TODO for different syntax of GRANT PROXY. 2011-07-22 05:02:31 +00:00
d0f7e7f505 Support account resources limits in user manager. Fixes issue #2492. 2011-07-14 19:54:37 +00:00
a26f891957 Minor cosmetics on file import dialog 2011-07-12 22:16:05 +00:00
ef23060601 Suppress error dialog when user lacks privilege for SHOW CREATE DATABASE. See http://www.heidisql.com/forum.php?t=8862 2011-07-12 17:55:19 +00:00
3824e552fe Rewrite import file dialog: Use a grid for column values, distinct between binary and text files 2011-07-11 06:13:50 +00:00
b1d23cf1ab Disable EXPLAIN link label as long as no process is selected. Fixes issue #2489. 2011-07-06 17:28:02 +00:00
14150b15be Disable move buttons as long as there is no movable column. Fixes issue #2488 2011-07-06 17:19:38 +00:00
42ec97b213 Rename "Process-List" to "Processes" 2011-07-06 05:50:49 +00:00
b169e57fe9 Paint green size bar in database trees 2011-07-03 21:49:26 +00:00
133b2a265c Refactor code for Host subtabs: Remove TVTreeData structure, use TDBQueryList instead. Use same code for most grid events. 2011-07-03 08:44:20 +00:00
752f58ad16 Tree.Parent is in a special case a form, but it could also turn into some panel or whatever in the future. Be more stable when detecting the origin of the tree. 2011-06-27 23:14:07 +00:00
d99fe53f55 Do not force a repaint when logging anything. Probably fixes issue #2410. 2011-06-27 23:12:02 +00:00
afed597cc5 Benefit from cached DBObject.CreateCode, on "insert files" dialog. 2011-06-27 22:58:26 +00:00
00a84b5181 Free object editor previously used by a now disconnected session. Fixes an AV described on http://www.heidisql.com/forum.php?t=8686 2011-06-27 22:16:53 +00:00
0bc9030acd Allow NULL when selecting NULL as default value. See http://www.heidisql.com/forum.php?t=8790 2011-06-27 21:34:53 +00:00
3c725b3d76 Quote collation clause in all places. Fixes issue #2479. Related: issue #1852. 2011-06-27 19:44:07 +00:00
e96fa77cbd Do not cache dialog instances any longer. OnCreate code is mostly very quick, and caching them adds quite some pitfalls into the code. Not to mention 30 lines less code in main.pas now :) 2011-06-26 20:01:42 +00:00
8a2d7a8e6a Code cosmetic: rename private variables beginning with "F". Also, make various public variables private. 2011-06-25 10:02:40 +00:00
dcb1460b5b Do not leave old data grid result displayed when switching to a different table and last filter creates a SQL error. Fixes issue #2476. 2011-06-24 22:28:42 +00:00
2ed5c39916 Do not force quotation when identifier contains underline char. 2011-06-24 22:02:22 +00:00
b53e0c466e FindDBNode cannot find the right node if db tree is refreshing and has no focused node. Pass connection parameter to FindDBNode to fix that. Effect was that after a table structure change, the db tree was broken. Fixes issue #2471. 2011-06-23 10:44:30 +00:00
5a663293e7 Try to fix refresh issue #2471. 2011-06-22 06:14:29 +00:00
16384ccd01 Allow custom portable settings filename as a command line switch. Fixes issue #2469. 2011-06-20 22:05:32 +00:00
83b59a9bde Left trim query split marker to avoid whitespaces in log window. Fixes issue #2460. 2011-06-18 15:24:44 +00:00
cbd847477e Fetch uptime on MS SQL backward compatible. See http://www.heidisql.com/forum.php?t=8147 2011-06-18 05:30:35 +00:00
d15c3ca1ea Do not manually remove line breaks from log lines, as these are not displayed anyway in SingleLineMode. Fixes issue #2460. 2011-06-17 06:04:36 +00:00
f290e42bdf Work around issue #2462 2011-06-17 05:55:39 +00:00
814582aee0 Make _GetFileSize more stable against file-not-found errors, and probably a bit faster. Fixes issue #2459. 2011-06-14 22:17:38 +00:00
a71cbe9a0c Allow displaying additional columns in session list: Host, user and server version. By default all invisible, must be rightclicked to get activated. 2011-06-13 14:37:55 +00:00
98c872909c Support virtual columns in MariaDB 5.2. Fixes issue #2451. 2011-06-10 23:36:38 +00:00
ed577e4482 Detect MariaDB, and use MariaDB icon in session manager, status bar and database tree. 2011-06-10 22:26:13 +00:00
e60539b077 Free some memory after TaskDialog usage 2011-06-10 05:46:25 +00:00