Commit Graph

2505 Commits

Author SHA1 Message Date
Ansgar Becker
4ccb6391df Issue #1289: Add some basic code to the "analyze" button, which detects missing tables in target database. 2011-08-26 06:57:31 +00:00
Ansgar Becker
12b158ba1c Catch more types of potential exceptions in image preview box. See http://www.heidisql.com/forum.php?t=8980 2011-08-26 06:24:19 +00:00
Ansgar Becker
94c1ecc81a Remove redundant backticks in table editors CREATE and ALTER code. See http://www.heidisql.com/forum.php?t=9056 2011-08-24 05:50:51 +00:00
Ansgar Becker
284c3410dc * disable controls as long as no session is selected.
* check all option check boxes by default
2011-08-23 06:22:12 +00:00
Ansgar Becker
d3087c1172 Add checkboxes to tree nodes in sync dialog, and ensure only table nodes of the same db are clicked at one time. 2011-08-23 05:54:49 +00:00
Ansgar Becker
01ac4b40e3 Introduce new dialog "Synchronize database", see issue #1289. Complex code behind "Analyze" and "Apply" buttons is missing yet. 2011-08-22 05:57:57 +00:00
Ansgar Becker
b185459ada Add "REPLACE INTO ..." to grid export output options. Fixes issue #2528. 2011-08-21 06:21:57 +00:00
Ansgar Becker
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
Ansgar Becker
3170702b5b Unify usage of log prefix in db connection. 2011-08-20 05:31:02 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
d19fc1cf0e Fix distinction of idle/busy processes on MS SQL 2011-08-17 06:29:16 +00:00
Ansgar Becker
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
Ansgar Becker
a170149801 Revert previous commit, which does not fix issue #2358 2011-08-16 06:38:18 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
e58d033342 Handle build download errors in update checker. Fixes issue #2512. 2011-08-13 05:38:20 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
6dd8ff5dad Use newer logo in about box, and consolidate credits text. 2011-07-25 21:38:25 +00:00
Ansgar Becker
ede08e591e Fix wrong offset of home brown UNIX timestamp. Fixes issue #2507. 2011-07-25 21:34:32 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
d0f7e7f505 Support account resources limits in user manager. Fixes issue #2492. 2011-07-14 19:54:37 +00:00
Ansgar Becker
a26f891957 Minor cosmetics on file import dialog 2011-07-12 22:16:05 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
b1d23cf1ab Disable EXPLAIN link label as long as no process is selected. Fixes issue #2489. 2011-07-06 17:28:02 +00:00
Ansgar Becker
14150b15be Disable move buttons as long as there is no movable column. Fixes issue #2488 2011-07-06 17:19:38 +00:00
Ansgar Becker
42ec97b213 Rename "Process-List" to "Processes" 2011-07-06 05:50:49 +00:00
Ansgar Becker
b169e57fe9 Paint green size bar in database trees 2011-07-03 21:49:26 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
d99fe53f55 Do not force a repaint when logging anything. Probably fixes issue #2410. 2011-06-27 23:12:02 +00:00
Ansgar Becker
afed597cc5 Benefit from cached DBObject.CreateCode, on "insert files" dialog. 2011-06-27 22:58:26 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
3c725b3d76 Quote collation clause in all places. Fixes issue #2479. Related: issue #1852. 2011-06-27 19:44:07 +00:00
Ansgar Becker
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
Ansgar Becker
8a2d7a8e6a Code cosmetic: rename private variables beginning with "F". Also, make various public variables private. 2011-06-25 10:02:40 +00:00
Ansgar Becker
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
Ansgar Becker
2ed5c39916 Do not force quotation when identifier contains underline char. 2011-06-24 22:02:22 +00:00
Ansgar Becker
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
Ansgar Becker
5a663293e7 Try to fix refresh issue #2471. 2011-06-22 06:14:29 +00:00
Ansgar Becker
16384ccd01 Allow custom portable settings filename as a command line switch. Fixes issue #2469. 2011-06-20 22:05:32 +00:00
Ansgar Becker
83b59a9bde Left trim query split marker to avoid whitespaces in log window. Fixes issue #2460. 2011-06-18 15:24:44 +00:00
Ansgar Becker
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