811f3df7c6
Emphasize label of checked "Drop" checkboxes, so the user is warned. Fixes issue #1493 .
2010-01-02 13:32:10 +00:00
d8f2c9831d
Enhance datagrid: Set focus on the previous selected row, or at least on row #0 , so the user sees the grid has focus
2010-01-02 07:46:55 +00:00
b85ee7cb1f
Fix compiler error in previous commit
2010-01-02 07:46:00 +00:00
9ec5a0c204
Fix detecting a mouse click on a tab close button. MouseUp is also fired without MouseDown if the focused tab switched between MouseDown and MouseUp - don't close tab in that case. Fixes issue #1469 .
2010-01-01 11:36:32 +00:00
2eacbdb558
Suppress automatically calling the database editor dialog in case we lost the connection and user clicks a table in a non-selected db, which triggers the reconnection logic and a USE <old-newdb>. Fixes issue #1550 .
2010-01-01 09:41:27 +00:00
f0f2036925
Avoid loading values from a privilege table with 0 rows. Fixes issue #1540 .
2009-12-31 17:35:43 +00:00
d82004c0cd
popupQuery has grown quite large - move SQL function menu items into a submenu
2009-12-31 14:44:23 +00:00
9d28d5cb12
Tweak reformat SQL feature:
...
* Replace misleading icon with a nicer one
* Add menu item to main "Edit" menu
* Adjust the action so that any focused SynMemo can be processed - Fixes issue #1201
2009-12-31 14:28:10 +00:00
07ad990da9
Revert r2936, appendage of "approx." for InnoDB rows. Seems that annoys more users than it's worth. Fixes issue #1566 , and unfixes issue #980 .
2009-12-30 18:15:56 +00:00
e13c019022
Add underscore character to list of letters, to avoid separation of keywords like UNIX_TIMESTAMP
2009-12-30 09:20:35 +00:00
c61b2ead2e
Implement SQL pretty formatter, fixes issue #428 .
2009-12-30 01:23:44 +00:00
51cdaa9995
Some queries do not fail with mysql_real_query(), but later, after calling mysql_store_result(). Pass them to the application. Fixes issue #1563 .
2009-12-27 23:32:52 +00:00
6c74af1ec8
Add a menu item "Reset sorting", to remove ORDER BY columns with one click / shortcut. Fixes issue #561 .
2009-12-27 16:39:54 +00:00
04c8181ba5
Append "(approx.)" to row count of InnoDB tables, to indicate that it's an estimation by the server. Fixes issue #980 .
2009-12-27 16:10:54 +00:00
b71414a386
Make Ctrl+A select all text in grid popup text editor. Fixes issue #1467 .
2009-12-27 15:54:25 +00:00
d9254728a8
Ignore triggers and routines in "Find text" and "Maintenance" operations. TODO: Bulk moving routines and triggers should be possible.
2009-12-27 15:08:42 +00:00
12f984b4c4
Add columns to result grid also if AddNotes() is the first or only one to fill it. Fixes issue #1562 .
2009-12-27 15:01:58 +00:00
bd1b038d79
Silence compiler warning.
2009-12-27 14:17:16 +00:00
87bbc45617
Code cosmetic: Do not use case..of for a single case.
2009-12-27 13:56:47 +00:00
bed5dce2fb
Include stored functions and procedures in SQL export. Fixes issue #1375 .
2009-12-27 13:53:47 +00:00
e5ae3a934d
Include triggers in SQL export. Fixes issue #334 .
2009-12-27 13:05:05 +00:00
c191b1b24e
Minor: documentation
2009-12-27 13:00:34 +00:00
6836218cb2
Set eoAutoSizeMaxScrollWidth so SynEdit automatically calculates its maximum number of chars per line. Fixes issue #1438 in a better way than r2723 which just increased this maximum to 10k.
2009-12-27 07:16:05 +00:00
cfe95db339
Handle mouse wheel scrolling in any VirtualTree under mouse, without having focus. Fixes issue #447 .
2009-12-27 07:06:29 +00:00
02c7c26b9c
Keep track of deleted and inserted row numbers in selected table. Fixes issue #1099 .
2009-12-25 13:42:30 +00:00
401a9ec4e2
Code cosmetic in SelectDBObject().
2009-12-25 13:11:56 +00:00
a08eaa1ee2
Fix AVs and automatic focus switching effects in dbtree, introduced in previous commit.
2009-12-25 13:10:52 +00:00
eff81d8e35
Code cosmetic: Let GetSelectedTable return a TDBObject which has the same properties as TListNode but even more.
2009-12-25 11:26:05 +00:00
3a7f67ad51
Add menu item "Invert selection", usable in grids and listboxes. Fixes issue #451 .
2009-12-25 07:59:30 +00:00
527cbdf423
Mask date portion in front of single queries in log file so the query is valid SQL. Fixes issue #1072 .
2009-12-25 07:05:51 +00:00
c181ffe902
Consistently disable menu items for creating a trigger when the upper host node is focused.
2009-12-25 06:53:26 +00:00
a265c45ba0
Add missing menu item reference from last commit.
2009-12-25 06:52:08 +00:00
a1325ea8e2
Add menu item "Bulk table editor" to main menu "Tools".
2009-12-25 06:49:31 +00:00
cdc5b1a78a
Always strip and hide server-side appendage "InnoDB free: xyz KB" from table comment, fetched by SHOW TABLE STATUS. If that detail is of any interest, we should display it in a separate column of ListTables, rather than leaving it in the user-editable comment field. Fixes issue #1561 .
2009-12-25 06:43:31 +00:00
684983b57b
Remove "perspectives" feature, to make data browsing less annoying. Restore old behavior where just the last set filter/columns/sorting was remembered. Fixes issue #822 .
2009-12-24 11:39:20 +00:00
42f14ae9fc
Exit grid loading earlier if no table or database was selected, to have less code indentation.
2009-12-24 07:03:50 +00:00
92eeced113
Don't raise exception when user enters an invalid filter, rather do that with a normal error dialog. Fixes issue #1559 .
2009-12-23 17:51:57 +00:00
6a1df0b488
Rename "table wide filter" into "multi column filter", so it says more what it is, making it clearer that this can result in a long running query. Fixes issue #638 in the way I interpret it.
2009-12-23 15:38:48 +00:00
b8abe2cc21
On a blank server with 0 databases, the dbtree stayed empty after creating a database. DBtree.ResetNode seems to solve this, better as DBtree.ReInitChildren. Unfortunately that also collapses expanded nodes.
2009-12-23 15:15:24 +00:00
b48ef9406d
Gracefully ignore it when a trigger does not exist in editing mode. Important for cases in which the user has SQL errors in his trigger body. Fixes issue #1558 .
2009-12-23 14:27:01 +00:00
c3d771eb5e
Add object names of selected database to SynMemo highlighter. Broken in r2879. Fixes issue #1557
2009-12-23 13:42:46 +00:00
09c76314c6
Do not try to apply table specific characteristics like charset or engine to a view.
2009-12-23 08:32:01 +00:00
67352c624b
Recreate instead of renaming a view when "Move to database" was selected. Fixes issue #1457 .
2009-12-23 08:24:55 +00:00
4e14b1a5ec
Fix detection of views with invalid referenced tables, which have a different comment than "VIEW".
2009-12-23 00:21:41 +00:00
029ac13101
Fix wrong node reference
2009-12-23 00:16:49 +00:00
54b6f31fa9
Safety check to avoid AVs in special cases.
2009-12-23 00:11:49 +00:00
5152b38937
Implement a "Duplicate row" action for quicker grid editing. Fixes issue #533 .
2009-12-23 00:03:48 +00:00
eb9915d5be
Invalidate columns and keys of an edited table when pressing the "Save" button, to avoid SQL errors when switching to "Data" tab. Fixes issue #1556
2009-12-22 23:38:38 +00:00
c46a87338b
Remove unused debug variable
2009-12-22 23:21:03 +00:00
e356cb7ed7
Sanitize all "uses" clauses from unneeded unit references.
2009-12-22 23:19:56 +00:00