Commit Graph

6139 Commits

Author SHA1 Message Date
Ansgar Becker
de4f951b68 Display size of rows to export in "Row selection" radio buttons. 2011-05-01 05:58:55 +00:00
Ansgar Becker
e0f72be96f Add some more common CSV control characters to the drop down menu. 2011-05-01 05:36:07 +00:00
Ansgar Becker
03fe3bd0e7 Fix another minor bug when loading previously used CSV control characters. 2011-05-01 05:24:53 +00:00
Ansgar Becker
0f76a73fc5 Tweak list of recently used files:
* Only add if OK was clicked
* Add check mark to selected filename
* Limit list to 10 items
* Bring some procedures into the right order
2011-04-30 06:41:47 +00:00
Ansgar Becker
5fe4b3bbc6 Display actually used control characters even if they cannot be changed, so the user sees exactly what's happening. 2011-04-30 06:06:52 +00:00
Ansgar Becker
bf32478302 Display number of rows (selected + all), to help the user deciding. 2011-04-30 05:21:45 +00:00
Ansgar Becker
52c57c84e3 Fix follow up problems introduced in r3795: DROP DEFAULT on renamed column took the old column name, and the old table name is used also when it was renamed. Revert r3795, move DROP DEFAULT clauses before the main ALTER query, and introduce a .OldDataType property on TTableColumn to check if that can have a default value. 2011-04-30 05:07:50 +00:00
Ansgar Becker
1e6c79372e Excel tweak, see http://www.heidisql.com/forum.php?t=8226 2011-04-30 04:44:32 +00:00
Ansgar Becker
b4a5a91572 Definer column not available in 5.0.16 and earlier. Fixes issue #2394. 2011-04-28 18:09:33 +00:00
Ansgar Becker
3c11e6c5a8 Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499. 2011-04-28 07:33:49 +00:00
Ansgar Becker
90a7cd1941 Drop default value *after* data type was altered, to avoid "can't have a default value". Fixes issue #2361. 2011-04-23 08:05:14 +00:00
Ansgar Becker
b9b981ab39 Do not break column names with spaces with WordWrap(). Fixes issue #2390. 2011-04-22 08:01:53 +00:00
Ansgar Becker
40290e4ef8 Create new data grid result object each time, so it's of the right vendor type. Fixes an access violation when switching to a table in another connection. See http://www.heidisql.com/forum.php?t=8306 2011-04-22 06:44:23 +00:00
Ansgar Becker
1021dc3888 Create critical section variable earlier, before the first call to LogSQL(). See http://www.heidisql.com/forum.php?t=7757 2011-04-21 17:38:03 +00:00
Ansgar Becker
b7cec30bd3 Exceptions are caught in TMySQLConnection.GetAllDatabases, no need to catch them again in TMainForm.DBtreeInitChildren. Also, log an error message if both SHOW DATABASES and the alternative did not work. 2011-04-20 19:03:13 +00:00
Ansgar Becker
eadc009e27 Reinitialize session node after creating a new database. See http://www.heidisql.com/forum.php?t=8311 2011-04-20 18:53:40 +00:00
Ansgar Becker
007ae9ced5 Do not try to access first character if identifier is empty. Fixes issue #2386. 2011-04-20 16:51:39 +00:00
Ansgar Becker
cb0e54068c Remove redundant functions IsMSSQL and IsMySQL. 2011-04-19 23:07:52 +00:00
Ansgar Becker
8e253e40fb Fix ignored preference option for restricted number of query results. Also, remove unused, redundant list of results from query thread. 2011-04-19 23:02:51 +00:00
Ansgar Becker
92f9ff0364 LogSQL needs to do stuff in the main thread, to avoid various access violations in SynEdit. Fixes issue #2358. 2011-04-19 22:38:46 +00:00
Ansgar Becker
3272430c40 Code cosmetic: Merge the few lines from TrimSQLlog into LogSQL 2011-04-19 22:09:16 +00:00
Ansgar Becker
19fbcfc372 Call mysql_thread_init and mysql_thread_end when applying the thread lock. Fixes issue #2375. 2011-04-18 23:21:26 +00:00
Ansgar Becker
f858b2b7a5 Remove effectively unused lock thread 2011-04-18 23:07:31 +00:00
Ansgar Becker
1bc016b3a0 Wrap only queries in LockedByThread state, so all synchronized calls to BeforeQuery, AfterQuery and BatchFinished are free to fire queries. Fixes issue #2329. 2011-04-18 22:50:36 +00:00
Ansgar Becker
c31c809387 Release connection before doing stuff in BatchFinished, to fix non working query profile. See http://www.heidisql.com/forum.php?t=8285 2011-04-18 16:51:06 +00:00
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
6afafb137f Enable visible application screen in Windows 7 Flip3D feature. Fixes issue #2351. 2011-04-09 09:40:50 +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