2641 Commits

Author SHA1 Message Date
f84f6e78a3 Don't catch too many types of exceptions, only file stream related ones, in a loop with much code which was never meant to be handled by a try/except block. 2012-03-08 20:14:59 +00:00
bc599ba495 Free sql batch object after the while loop (not within). Fixes issue #2762. 2012-03-08 20:12:36 +00:00
f36f54b0b8 Disable editing routines if user has no privilege to select from mysql.proc or if he's not the owner of that routine. See http://www.heidisql.com/forum.php?t=10231 2012-03-07 20:57:46 +00:00
4de1b3012d Move code from GetSQLSplitMarkers and SplitSQL into TSQLBatch class. Enables me to access details like string size of batch. Preparation for query history. 2012-03-06 21:52:57 +00:00
ccca1bf982 Try to fix command line for Wine users by launching "$TERM -e path/to/mysql", see http://www.heidisql.com/forum.php?t=10158 2012-03-06 20:13:21 +00:00
36d8e53333 Issue #2744: Remove PHP start and end tags for clipboard version of grid export. 2012-03-05 12:30:13 +00:00
8f6b064c8a Do not export column names as array keys if "Column headers" is unchecked 2012-03-03 21:27:18 +00:00
347f1ee986 Add PHP file type to save dialog 2012-03-03 21:18:58 +00:00
f7dff6259a Implement grid export as PHP array. Fixes issue #2744. 2012-03-03 17:04:01 +00:00
de0048d419 Issue #2728:
* Support Unix paths to MySQL binaries.
* Auto-add the right directory separator at the end of the path setting
2012-03-02 21:03:52 +00:00
5c62ee51c6 Support Wine/Linux binary of mysql.exe in "Launch command line" feature. See issue #2728 and http://www.heidisql.com/forum.php?t=10158#p10162 2012-03-01 20:59:30 +00:00
39bf7706df Support SSL, sockets and SSH tunnel connections in "Launch command line" action, and log execution command into SQL history. 2012-02-29 22:19:46 +00:00
9a0fe28b64 Add hint for non working command line on MS SQL. 2012-02-28 23:44:54 +00:00
3370a6a4da Add menu item for launching mysql.exe command line with current parameters. Fixes issue #2728. 2012-02-28 23:34:58 +00:00
156bd42291 Prevent exporting dummy VIEWs from having multiple DEFAULT CURRENT_TIMESTAMP clauses. Fixes issue #2748. 2012-02-28 22:36:25 +00:00
4ef984b52d Do not write "NULL" string in grid export formats other than SQL INSERTs/REPLACEs. Fixes issue #2733. 2012-02-28 22:26:14 +00:00
867d656f0b Fix detection of decimal datatype, so the recently introduced color settings for float's also applies on query results. 2012-02-27 23:15:30 +00:00
cedf5d888e Introduce new preference option "Prefill empty date/time fields". Fixes issue #2708. 2012-02-27 22:36:48 +00:00
af3f590723 Use one color pulldown for setting grid text colors, not one per data type. Use all TDBDatatypeCategory's here, so this introduces a separate color for floats and integers, which were "numeric" before. 2012-02-27 22:16:05 +00:00
3da79f5b2b DLL errors fixed in previous commit belong to a place after connection has been established. Reporter of issue #2741 says connection does not even work with r4063. 2012-02-26 09:56:27 +00:00
bfb2c57c3a Silence cosmetic DLL errors. Fixes issue #2741. 2012-02-26 07:37:11 +00:00
504aed87e6 Follow up to r4059, use Tree.CheckState[Node] also when unchecking nodes. See issue #2738. 2012-02-24 23:33:12 +00:00
d6ddd59e39 Ignore current session name when checking if renaming can be done. Fixes issue #2737. 2012-02-24 20:40:13 +00:00
d521a5eb2e End grid cell editor in foreign key list if current tab changes. Fixes issue #2740. 2012-02-24 20:28:58 +00:00
b76bd09d13 Use Tree.CheckState[Node], not Node.CheckState to fix a potential OnCheck event. Fixes issue #2738. 2012-02-24 20:14:11 +00:00
5baf38e7c3 Wrap accessors of SynMemoLog in a critical section. Should fix issue #2725. 2012-02-16 18:20:49 +00:00
cc09d87dc3 Try a blank default date/time value for grid editing. Hopefully fixes issue #2708 finally. 2012-02-15 09:24:45 +00:00
f9fe0083b0 Restore previous selection after refreshing process list (and neighbor tabs). Fixes issue #2717. 2012-02-15 08:44:33 +00:00
188823dfbd Again, log messages in query threads without postponing. There is a chance that this does not cause access violations, now that we don't call MainForm.SetupSynEditors in various places. Fixes issue #2716. 2012-02-15 08:03:11 +00:00
535bcc3470 Fix "abstract error" when clicking "delete" button on data sorting dialog, caused by free'd button in its OnClick event. 2012-02-14 18:30:10 +00:00
3fe4a1a007 Flag MS SQL connection types as experimental. 2012-02-12 11:51:42 +00:00
917e3597fb Set EmptyListMessage for status + command statistics grid in MS SQL sessions. Fixes issue #2699. 2012-02-12 10:19:26 +00:00
aebb4a3d9c Remove result tabs from disconnected session. Fixes issue #2712. 2012-02-12 09:48:14 +00:00
08d0a095a7 Do not double-unformat numbers in automatic grid WHERE clause. Fixes issue #2608. 2012-02-12 09:28:19 +00:00
21a6381a3c Move modified flag to the right place. Fixes issue #2709. 2012-02-07 21:09:16 +00:00
e4fb7bfe7f Do not add duplicate custom colors in color selector. Fixes issue #2704. 2012-02-07 21:00:06 +00:00
000004d1d3 Fix access violation due to non-hex string returned by ColorToString(). Fixes issue #2704. 2012-02-07 00:46:07 +00:00
00414d9585 Leave NULL date/time values in grid untouched if user did not modify default value. Fixes issue #2708. 2012-02-07 00:23:12 +00:00
4f0fe21622 Real export of column headers in LaTeX grid output. Fixes issue #2707. 2012-02-05 19:31:23 +00:00
bd5ffd8362 Show used colors from other sessions in color picker as favorite colors. Fixes issue #2704. 2012-02-05 12:19:05 +00:00
b271ea2670 Find GRANT OPTION also when SSL requirements are set. Fixes issue #2671. 2012-02-05 07:04:41 +00:00
32e10cc88c Keep VIEW editor enabled, even if SHOW CREATE VIEW failed. Falling back to INFORMATION_SCHEMA succeeds in cases where the VIEW contains unreferenced columns. Fixes issue #2705. 2012-02-04 20:29:46 +00:00
a816787be4 Add context menu to object tree in export dialog, and add items to check all/none/bytype. See http://www.heidisql.com/forum.php?t=9844 2012-02-04 11:47:41 +00:00
ba14143238 Export whole CREATE VIEW code, not only the VIEW body. Fixes issue #2625. 2012-02-04 06:52:21 +00:00
5d4a33198c Do not export data from MRG_MYISAM tables. See http://www.heidisql.com/forum.php?t=9842 2012-02-02 20:05:53 +00:00
bc294484a8 Try to fix dbtree focus/refresh access violation. Fixes issue #2665. 2012-01-25 21:54:41 +00:00
ada7622eab Find erroneous SQL also when getting a "Duplicate entry 'xyz'" error. Fixes issue #2698. 2012-01-24 22:56:26 +00:00
15cf7cd45b Fix non-nil values for mysql_ssl_set(), broken in r4031. 2012-01-24 22:19:02 +00:00
a86650d10b Introduce a checkbox for explicit activation of SSL. Any combination is passed to the server now, while SHOW STATUS LIKE 'ssl_cipher' is used to find out if the connection is indeed SSL secured. Pops up a warning when SSL settings were ignored by the server. Fixes issue #2672. 2012-01-22 10:17:24 +00:00
8fbd4df5cf Show up new session after "Save as" action. Fixes issue #2686. 2012-01-18 21:08:15 +00:00