2235 Commits

Author SHA1 Message Date
0911c8edad Init all objects in active db before preselecting, so the tree does not just check the parent db node when we only want the first object in it. Fixes issue #2267. 2011-01-19 20:11:45 +00:00
82b45cf09e Can't recall why date/time columns in a VIEW did not get a default text for CREATE VIEW. Undo that and probably fix the issue described on http://www.heidisql.com/forum.php?t=7109 2011-01-17 20:58:56 +00:00
bb00b55798 Get collation table once, not in each loop when parsing table columns. Fixes issue #2266. 2011-01-16 16:41:29 +00:00
adb3a3aa74 Add more debug log lines, mostly to detect looped calls to Ping(). 2011-01-16 16:36:42 +00:00
56f3b8ff0b Add debug logging in TMySQLConnection.Ping(). See issue #2266 2011-01-16 16:22:56 +00:00
88d56668c8 Redo changes from r3630 2011-01-12 18:16:28 +00:00
6ffb0e360c Revert r3630 test wise, so the reporter of issue #2266 can see if that really caused the slowness. 2011-01-12 18:14:39 +00:00
7e1331300d Internally reset cached list of databases after dropping a db. Fixes issue #2271. 2011-01-11 18:22:55 +00:00
65148c596d Redo r3571 - seems that was not the cause of slowness. 2011-01-11 07:01:58 +00:00
d2fdeef0fb Revert r3571, to test if that caused slowness described in issue #2266 - of which I am unsure. 2011-01-10 22:57:49 +00:00
40791c52a9 Do what's needs to be done to tell a node it has children now. 2011-01-10 20:42:45 +00:00
fcb7fcffab Auto expand active database on startup. See http://www.heidisql.com/forum.php?t=7471 2011-01-09 07:23:58 +00:00
11256e914b Allow auto refresh interval to be some float, especially useful for seconds between 0 and 1. 2011-01-07 21:29:37 +00:00
e884f26c29 Revert r3636 - grid cells need this extra space for the edit button with the three dots. 2011-01-04 22:41:50 +00:00
6921e6e189 Make detection of disabled users more stable. See http://www.heidisql.com/forum.php?t=7433#p7442 2011-01-03 23:21:17 +00:00
a8f5310e3c Minimize column width in data and query grids - add 15px less extra space. See http://www.heidisql.com/forum.php?t=7363 2011-01-01 17:48:27 +00:00
1df812d53f Large numbers exceeding Int64 range in SHOW STATUS result can cause an EInvalidOp exception in Trunc(). Catch this exception. See http://www.heidisql.com/forum.php?t=7409 2011-01-01 17:36:38 +00:00
69b8201273 Add Delphi XE packages. 2010-12-29 23:04:18 +00:00
c5ae894951 Use less indentation in db tree and less height per node in all trees. Fixes issue #2262. 2010-12-29 22:44:12 +00:00
b0048cff64 Try to fix a flicker effect on the owner-drawed status bar panels. 2010-12-29 20:52:20 +00:00
eea43de0eb Force cache update of server stuff like table engines after reconnecting. Fixes issue #2258. 2010-12-21 22:43:14 +00:00
ea4f87f4d0 Skip filtered nodes in various GUI actions, e.g. "drop objects" and "export as csv". Fixes issue #2255. 2010-12-20 22:00:46 +00:00
535e3d31bf Hide table engines marked as disabled. 2010-12-17 21:26:06 +00:00
d60d3f3ea6 Focus next or previous grid node on Shift+MouseWheel, in all trees. See http://www.heidisql.com/forum.php?t=7269 2010-12-11 07:25:19 +00:00
c97f5295e0 5.0 and older servers show a "USING BTREE" before the column list, newer servers have them right after the list. Allow both places to fix compatibility to old servers. See http://www.heidisql.com/forum.php?t=7153 . 2010-12-06 23:21:58 +00:00
0df3c96a42 Reset CREATE code when renaming a view, so the next click on that view does not trigger "Table does not exist". 2010-12-06 23:08:07 +00:00
e23a16f9ae Allow dash in view names. Fixes issue #2243. 2010-12-06 22:59:41 +00:00
e3ce880b69 Call Application.ProcessMessages in certain intervals while export runs, and disable most controls so nothing critical can break the export loop. See http://www.heidisql.com/forum.php?t=7174 . 2010-12-06 22:52:41 +00:00
481b472c52 Try to fix detection of default-less fields in views. See http://www.heidisql.com/forum.php?t=7109 2010-12-03 21:38:05 +00:00
6136e777e1 Silence SQL exception in grid editing when foreign table is not accessible. See http://www.heidisql.com/forum.php?t=7070 2010-11-29 07:10:23 +00:00
973351fed8 Use manual counter for default query tab caption ("Query #X"), so when closing some tab in between there are no equal ids. See http://www.heidisql.com/forum.php?t=7065 2010-11-29 07:03:25 +00:00
a6d697cbd2 Minor follow up to previous commit: Trigger save button to be enabled when editing SSH timeout, and adjust IDE-automated width of SSH timeout label. 2010-11-28 19:48:06 +00:00
7770d186e5 Append -N option to plink command line. Avoids starting a shell on the remote system, and probably heals immediately exiting plink process in cases where the user is not allowed to start a shell. Discussed in issue #2236. 2010-11-28 17:22:50 +00:00
199d7c6e0f Make plink.exe wait timeout configurable in session manager. Fixes issue #2236. 2010-11-28 12:47:00 +00:00
8fe2fb7b84 Manually repaint db tree after user fired a USE <db> command, so the icons show the right db as active. 2010-11-26 23:42:07 +00:00
9e880365ac Closing a query tab when data tab is open leads to passing page index -1. Avoid AVs in that case. See http://www.heidisql.com/forum.php?t=7038 2010-11-26 07:06:45 +00:00
b1effc6ce6 Enable filter input when table editor is active, for the column list. See http://www.heidisql.com/forum.php?t=6988 2010-11-25 07:25:48 +00:00
ffb99d8962 Add right click option to toggle visibility of horizontal scrollbar in SQL log. http://www.heidisql.com/forum.php?t=6984 2010-11-24 23:39:22 +00:00
6f95a796e1 Modify identifier quoting logic:
- Move QuoteIdent() and DeQuoteIdent() out of TMySQLConnection, make them classless
- Remove TMainForm.mask(), instead always use QuoteIdent()
- Introduce a third parameter to QuoteIdent(): "AlwaysQuote" - setting this to false will quote only if required
- Set AlwaysQuote to false for all stuff which drops some code into the query editor, see http://www.heidisql.com/forum.php?t=6986
2010-11-24 23:12:13 +00:00
c0ded109b5 User manager form is kept in memory after closing. Later calls need to check the current server version to display the right list of priv names. So, move creation of these lists from Form.OnCreate to Form.OnShow. 2010-11-21 23:21:58 +00:00
a2e20b08f1 Use CREATE USER query for added users, as required since 5.0.2 servers when password is empty. Works around SQL error 1133 (Can't find any matching row in the user table). See http://www.heidisql.com/forum.php?t=6948 2010-11-21 19:21:16 +00:00
fbefabe146 Fix stack overflow in object comparer when deleting triggers. See http://www.heidisql.com/forum.php?t=6915 2010-11-21 09:35:36 +00:00
ae32d4d91e Fix wrong error message text and indentation. 2010-11-20 09:07:11 +00:00
08cdd86c9d Fetch real compile datetime for about box, by examining PE header, not last file modification. Code taken from http://www.michael-puff.de/Programmierung/Delphi/Code-Snippets/GetImageLinkTimeStamp.shtml 2010-11-20 09:05:46 +00:00
7d3446d346 Sort accessible objects by relevance (global > db > table) + alphabetically 2010-11-16 19:40:31 +00:00
c2e984c4b7 Do not try to remove non applied privileges after unchecking priv names. 2010-11-16 19:09:00 +00:00
e01b7035fc Set focus on connection root after dropping tables so there is a focused node when firing later queries. Fixes issue #2224. 2010-11-14 23:16:08 +00:00
23da40e86e Add safety check for availability of query profiling feature, also on server versions which should normally have it. Fixes issue #2229. 2010-11-13 23:11:48 +00:00
98300c9bd5 Make SET cell editor resizable, and store and restore its dimensions. Fixes issue #2212. 2010-11-13 21:16:36 +00:00
a8ce8cd7fa Export output file may be in use by another application. Catch such exceptions and stop the whole export loop. See http://www.heidisql.com/forum.php?t=6850 2010-11-13 20:37:46 +00:00