Commit Graph

2351 Commits

Author SHA1 Message Date
Ansgar Becker
c8b25c75fa Bind session parameter object to session manager list nodes, to be able to show the right vendor icon in that list. 2011-04-17 23:21:05 +00:00
Ansgar Becker
9d630b50fc Use default path to plink.exe when creating a new session. Fixes issue #2303. 2011-04-17 09:15:21 +00:00
Ansgar Becker
14d21a9925 Exclude text and blob columns for ALTER col DROP DEFAULT query. Fixes issue #2361. 2011-04-17 08:50:31 +00:00
Ansgar Becker
77c5b3e219 Fix window placement problems due to multi monitor setup and restored minimized window state. Fixes issue #2372. See also http://www.heidisql.com/forum.php?t=8126 2011-04-16 16:34:59 +00:00
Ansgar Becker
f831bf3103 Display percent of processed objects on table tools dialog, and show progress bar. 2011-04-16 06:41:54 +00:00
Ansgar Becker
30498b99f0 Fix quoting for MS SQL mode. 2011-04-16 05:38:38 +00:00
Ansgar Becker
bec6422d34 Turn close button into cancel button for processing time, and break loop in TfrmTableTools.Execute when clicked. See http://www.heidisql.com/forum.php?t=8238 2011-04-16 05:34:05 +00:00
Ansgar Becker
06e78d9d95 Code cosmetic: make handling of MySQL client flags more compact, remove unused options from published property. 2011-04-13 20:22:46 +00:00
Ansgar Becker
6e6508490a Remove unused variable 2011-04-13 20:13:26 +00:00
Ansgar Becker
dcaacaebef Quote identifier in filter dummy SQL connection-independently. 2011-04-13 20:12:48 +00:00
Ansgar Becker
e024c282d3 Think disabling Vistas ghosting feature worked around problems caused by single-threading. Remove it. 2011-04-13 20:10:33 +00:00
Ansgar Becker
6bee759971 No need to check server version on each key pressing. Also this is obviously causing a call to ActiveConnection when at some points this is not set. Fixes issue #2376. 2011-04-13 20:07:37 +00:00
Ansgar Becker
2160643759 Killing multiple processes raised and stopped at the first missing one. Loop on unless user presses "Abort" on the error dialog. Fixes issue #2362. I should also give the execute query action such a logic, replacing the "Stop on errors" flag. 2011-04-10 20:17:30 +00:00
Ansgar Becker
82690c0476 Catch late errors in multi statements returning multi results, when a follower query of a resultset query contains errors. Must check if mysql_next_result() returns > 0. Fixes issue #2323. See http://dev.mysql.com/doc/refman/5.0/en/c-api-multiple-queries.html . 2011-04-10 19:57:04 +00:00
Ansgar Becker
2464070b92 Remove debug dialog 2011-04-10 11:44:53 +00:00
Ansgar Becker
af2df77704 Ensure we pass nil/null for empty SSL parameters, where I thought PAnsiChar('') returns nil which is not the case obviously. Tries to fix issue #2336. 2011-04-10 11:42:42 +00:00
Ansgar Becker
41bff877ce Do not steal focus from tree when clicking a table, only when creating a new table or whatever. Fixes issue #2289. 2011-04-09 09:48:18 +00:00
Ansgar Becker
e43d115641 Update cached objects only for current and expanded database nodes when refreshing. No need to do that also for all previously selected databases. See http://www.heidisql.com/forum.php?t=6773 2011-04-09 06:37:43 +00:00
Ansgar Becker
17a62c020c We have TDBConnection.DequoteIdent. No need to include WideStrUtils unit for that purpose. 2011-04-09 05:52:21 +00:00
Ansgar Becker
9bb2df8d80 Rename columns occurrences in indexes when user renames a column, so the GUI shows the column still as indexed. Fixes issue #2347. 2011-04-07 22:21:56 +00:00
Ansgar Becker
6116df42ed Reset current row number after deleting grid row, so SetRecNo jumps to the right row on a later created row. Fixes issue #2308. 2011-04-07 22:10:20 +00:00
Ansgar Becker
56ca6c75d9 Fix disabled run query button in certain cases. See http://www.heidisql.com/forum.php?t=7886 2011-04-07 21:46:24 +00:00
Ansgar Becker
2e44387eb2 Remove seconds from uptime and connected time in status bar. Should fix flickering finally. See http://www.heidisql.com/forum.php?t=7977 2011-04-06 19:59:36 +00:00
Ansgar Becker
1559c6ebe7 Adjust TAdoDBConnection.GetCharsetTable so it returns the same structure as other GetCharsetTable()s do. Fixes an exception when calling the table tools dialog on MSSQL. 2011-04-06 19:10:37 +00:00
Ansgar Becker
4d9f038c16 Use vendor image as server node icon 2011-04-06 19:08:18 +00:00
Ansgar Becker
0bba145162 Silence error message about invalid password length after changing a users' password. Fixes issue #2346. 2011-04-05 22:38:23 +00:00
Ansgar Becker
ea41508884 Decrease the myriad of calls to StatusBarDrawPanel to a minimum. Avoid calling StatusBar.Repaint which always repaints all panels, leading to quite a lot code to execute. Server version/vendor now gets only refreshed after having connected and on a connection switch. Should fix issue #2304 and calm down idle times. 2011-04-05 22:19:40 +00:00
Ansgar Becker
65e762c720 Support empty table action on MS SQL. 2011-04-04 20:14:22 +00:00
Ansgar Becker
a8baf72e77 Support table column names in completion proposal for MS SQL. 2011-04-04 19:02:41 +00:00
Ansgar Becker
cad400db1e Try to fix a further randomly occurring access violation, probably in conjunction with threads. See http://www.heidisql.com/forum.php?t=8096 2011-04-04 17:09:43 +00:00
Ansgar Becker
e5c8df2ecb Remove driver stuff from MS SQL error messages. 2011-04-04 06:16:32 +00:00
Ansgar Becker
049e4bb526 Group network types in fewer dbms names, to have less code. Also, support other MS SQL network types: tcp/ip, spx/ipx, vines and rpc. 2011-04-04 06:12:56 +00:00
Ansgar Becker
98a028c4cf Show vertical scrollbar in comment editbox 2011-04-02 06:03:15 +00:00
Ansgar Becker
bef2d5278d Support long table comments on newer servers. http://www.heidisql.com/forum.php?t=8105 2011-04-02 06:00:58 +00:00
Ansgar Becker
3bfc4d0ffb Try to fix a rarely occurring access violation 2011-04-01 17:33:22 +00:00
Ansgar Becker
08e4e0666a Use unified method for getting database names. 2011-04-01 05:24:37 +00:00
Ansgar Becker
4142bed111 Quote identifiers with the right quote char when exporting to server. 2011-04-01 05:20:45 +00:00
Ansgar Becker
2816377c4a Fetch database names in MS SQL from sys.databases. Hopefully fixes an empty result on some servers for EXEC sp_databases. 2011-03-31 22:08:15 +00:00
Ansgar Becker
87c31b84ac MS SQL hides information_schema in all places. Return a hardcoded list of objects. 2011-03-31 22:05:40 +00:00
Ansgar Becker
705393a36c Try to fix some randomly occurring access violation in TMainForm.StatusBarDrawPanel, when accessing the current connection. Fixes issue #2304. Instead of the lock/computer icon, draw a vendor specific icon instead. 2011-03-31 21:37:59 +00:00
Ansgar Becker
e3661efd58 Column type detection must not use the type index as enumerator any longer, as not all type indexes are used for all dbms. Fixes issue #2365. 2011-03-31 19:40:38 +00:00
Ansgar Becker
0c5206c002 Handle multiple query results in MS SQL. 2011-03-30 22:34:01 +00:00
Ansgar Becker
fb20c8e75f Fix offset portion in LIMIT clause, at least for MySQL. 2011-03-30 05:37:52 +00:00
Ansgar Becker
a6d2271988 Avoid accessing connection object if not available, to fix an access violation in session manager when pressing "new". See http://www.heidisql.com/forum.php?t=8064 2011-03-30 05:22:39 +00:00
Ansgar Becker
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
Ansgar Becker
7022bf3fcd Remove unused forward declaration. 2011-03-18 06:49:51 +00:00
Ansgar Becker
a9f1f076b0 Fix two minor compiler warnings. 2011-03-17 23:07:02 +00:00
Ansgar Becker
49a97584e6 Code preparation for non-MySQL connections: Extract abstract stuff into a new TDBConnection class, and let TMySQLConnection derive from that. Same with TDBQuery / TMySQLQuery. See issue #1008. 2011-03-17 23:03:54 +00:00
Ansgar Becker
24adc029b2 Ensure we fetch all available database names without passing a custom list, in session managers database selector. 2011-03-14 19:27:00 +00:00
Ansgar Becker
5f573619c4 mysql_ssl_set() always returns 0. No need to check if it does not. 2011-03-14 06:46:50 +00:00