2276 Commits

Author SHA1 Message Date
06ae6b9c8c Drop default column value if user selects "No default". Fixes issue #2311. 2011-02-16 19:46:03 +00:00
72f71bd845 Add a usable error message to the EAccessViolation which pops up when no libmysql.dll is found in the current directory. 2011-02-15 23:37:34 +00:00
669bab9095 Find a nicer "problem" overlay icon for users with an empty password. 2011-02-15 23:25:52 +00:00
d5f47f4103 Downgrade priority of charset information in log panel, which is now a debug message. 2011-02-15 23:15:29 +00:00
2911e9802c Be more exact in regexp from within ParseTableStructure(), to avoid stack overflow in TRegExpr object. Fixes issue #2309. 2011-02-15 23:11:27 +00:00
de2767711d Flush privileges after user has been dropped. 2011-02-14 09:30:47 +00:00
4bef2d7412 Raise readable connection error when SSL settings are incomplete. Were silently ignored before, so the user didn't knew if SSL is being used. See http://www.heidisql.com/forum.php?t=7739 2011-02-09 23:51:41 +00:00
216f097d9c Servers up to 5.0.6 do not support the object type in a GRANT or REVOKE query. See http://www.heidisql.com/forum.php?t=7753 2011-02-09 23:22:48 +00:00
d539284477 Fix crash when there is no ActiveConnection. See http://www.heidisql.com/forum.php?t=7749 2011-02-09 09:27:38 +00:00
8d9539e10f Indicate SSL enabled connection, via lock icon in status bar, logging line at connection time, and line in connection info popup. See http://www.heidisql.com/forum.php?t=7739 2011-02-09 07:07:44 +00:00
2f12b65fe9 Use image on close button, like the other buttons already do. 2011-02-09 06:54:28 +00:00
0f2db295a6 Fix top aligned, 2-line label, should be centered vertically. 2011-02-09 06:51:14 +00:00
adab28c336 Avoid exception when starting cell editor for a cell which is partly out of sight horizontally. VT calls ScrollIntoView in .DoEdit, and fires the OnScroll event, which tells MainForm to end editing. Ends up in the OnNewText procedure which has no node to handle in that case. So, only end editing for vertical scrolling for now. 2011-02-08 22:52:27 +00:00
deb0c1afbf User manager: Turn custom object editors into one single editor for a wildcard database. Enhances what r3681 did for issue #2299. 2011-02-08 22:11:43 +00:00
9e8ddad470 User manager: Allow applying dbs with wildcards via custom input text, while escaping mouse-selected objects from tree. Fixes issue #2299. 2011-02-08 00:11:33 +00:00
17baa6bf03 Let QueryLoad() create a new query tab if required, so the caller is not responsible to close it in cases where the file is directly executed, not loaded. Also, check if some existing query tab is empty and can be used for the file. Fixes a part of issue #2265. 2011-02-06 14:16:09 +00:00
08513f1d88 Improve user manager: Include inactive users in users list and disable these nodes. Just to make clear they exist, and the user should fix them manually. 2011-02-05 07:23:43 +00:00
446eef2a40 Improve generated passwords by including numbers at a random position. 2011-02-05 06:45:38 +00:00
ca58d88410 Improve password generator on user manager dialog: Create a drop down menu containing groups of passwords in several lengths. Do not automatically copy to clipboard, and leave the password visible as long as the user did not type manually. 2011-02-05 06:37:43 +00:00
95f50b9ca5 Improve user manager: Add drop down menu to "From host" input, containing some predefined hosts plus all unique ones from the users list. 2011-02-03 23:50:01 +00:00
374e79448f New user object does not update its user name and host, so the save button granted privileges to some "Unnamed" user, which was probably named differently by the user. So, update the user object with current input before saving. Fixes issue #2294. 2011-02-03 23:03:40 +00:00
b78fb92636 Display session manager when disconnecting from last server. Fixes issue #2282. 2011-02-03 22:52:24 +00:00
b0362f3ec0 Only pass ROW_FORMAT clause into CREATE TABLE query if explicitly set. 2011-02-03 22:29:02 +00:00
1f0ff39229 Set focus in name input box of object editors at start, so users can start typing immediately. Fixes issue #2289. 2011-02-03 22:23:54 +00:00
1c279fd85b Exclude chars between ord(Z) and ord(a) in non-quoted identifiers. Fixes issue #2293. 2011-02-03 22:00:34 +00:00
ab21693b0d Support backticks in column names. Fixes issue #2292. 2011-02-02 20:30:24 +00:00
809236e534 Fix compiler warnings, newly deprecated stuff. 2011-02-01 23:05:46 +00:00
0ecbae3342 Cell editor is not repositioned when moving field up or down. Force editor to exit in these cases. Fixes issue #2287. 2011-02-01 21:59:51 +00:00
ba9d971e02 Apply added privs which were in org privs, then deleted, and added again. Fixes issue #2284. 2011-01-30 23:44:43 +00:00
6988d82c55 User manager: Split user list into username and host column, and allow sorting by header click. Also, add overlay icons for users with empty passwords, and added privilege objects. 2011-01-30 23:25:28 +00:00
59f6dbb3c4 Initialize child nodes after adding a privilege object to a user, so the parent checkbox checks all rather than only the first few visible child nodes. Regression introduced most probably in r3585. Fixes issue #2283. 2011-01-30 07:02:59 +00:00
57ad933c64 Limit batch query package to a maximum of 50 queries, to avoid connection errors. See issue #2272. 2011-01-29 06:52:21 +00:00
44bcd31635 Add a "Cancel" button to the main toolbar, so users are able to stop long running query grid sort operations. See http://www.heidisql.com/forum.php?t=7674 2011-01-29 06:45:49 +00:00
3d677e963f Focus first prechecked table or db node in table tools dialog, to trigger a Tree.OnChange call, which again fixes the width of the size column. Fixes issue #2277. 2011-01-26 22:45:20 +00:00
005856d9f0 Explicitly pass -ssh parameter to plink although that's assumed as default, but there seems to be some magic switch to some other protocol on certain servers. Fixes issue #2278. 2011-01-26 06:57:11 +00:00
4252ea8951 Fix decreasing size of compared packet size, caused by loop variable. 2011-01-21 21:51:30 +00:00
6b1a5195c8 Implement multi statements in one go for query tab, to speed up large scripts with many single queries, e.g. INSERTs from a non-optimized SQL dump. Fixes issue #2272. 2011-01-21 21:41:38 +00:00
87ce54b75a Remove debugging code, accidentally committed in r3654. Caused non shown snippet files. 2011-01-21 20:09:04 +00:00
99eda21fe6 Catch various IO exceptions for TDirectory calls. See http://www.heidisql.com/forum.php?t=7616 2011-01-20 17:45:45 +00:00
fda777f843 Do not go to start of query if error message did not contain a valid character position. Slightly wrong in r3570. 2011-01-19 21:04:04 +00:00
58a95bc978 Allow snippet files with more than one dot. Fixes issue #2264. Also, this removes GetFilesFromDir() and makes use of TDirectory.GetFiles instead. 2011-01-19 20:47:37 +00:00
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