886f67cb62
Refactor grid editors unit: Implement a base class with all stuff which was implemented redundant previously and let all other editors descend from this class. Saves ~300 lines of code and makes implementing new editors easier.
...
Additionally this implements tabbing through edited fields for all grid editors. And it fixes issue #1266 , issue #1267 , issue #1253 , issue #1178 , issue #1155 , issue #825 and issue #566 .
2009-07-20 23:07:28 +00:00
d26d93aefa
Sanitize MySQL structure unit:
...
* Remove old, unused code (TMysqlIndex, TMysqlField)
* Move relevant code from helpers to mysql_structures unit
* Rename various stuff to more compact names
* Use ordinal values instead of constants for datatypes and their categories
* Replace TGridColumn.IsXYZ boolean's by a new .DatatypeCat property
2009-06-14 19:45:48 +00:00
f01893d08a
Experimental: Reintroduce table tab, this time by placing the existing editors for tables, views and routines as TFrames onto that tab. Unfortunately a whole bunch of GUI changes involved here which makes the diff unreadable. Should solve issue #1149 .
2009-06-04 12:56:55 +00:00
a6716d7713
Belongs to issue #1137 : Also warn about overwriting a target routine when just the type of routine was switched from proc to func or vice versa, and the name was kept.
2009-05-24 12:16:53 +00:00
4ca5d48993
Fix issue #1137 : Stored routine dropped if it already exists
2009-05-24 12:06:53 +00:00
6f411f7ae4
Same as previous commit - take routine type into account. This time for an existence check.
2009-05-24 11:49:15 +00:00
b79ddd2260
A function named F can exist besides a procedure F. If such two routines exist and the editor was called for one of them, the chance was 50% that you edit the wrong routine.
2009-05-24 10:28:43 +00:00
d35b2dbf0f
Fix issue #1130 : Stored routine lost if no name is given
2009-05-16 06:05:20 +00:00
33894c807f
Always quote routine parameters like identifiers, and dequote them if necessairy. Fixes double quoted params.
2009-03-16 19:44:11 +00:00
593adf939c
Seems the IN/OUT is not consistently written in uppercase in SHOW CREATE PROCEDURE, probably server version dependent. Anyway, stable now.
2009-03-03 20:30:37 +00:00
b66a62b9f8
Fix issue #1029 : Syntax Error on Procedure Routine, destroys PR
2009-03-03 20:24:58 +00:00
7789a1d2fe
Fix bug #1030 : When creating a Procedure Routine, Tree does not update to show it
2009-03-03 19:22:38 +00:00
4867fdbbff
Fix detection of parameters in SHOW CREATE PROCEDURE/FUNCTION
2009-03-02 21:57:49 +00:00
a1f6c628ef
Minor Vista font fix for parameter list in routine editor
2009-03-01 07:33:09 +00:00
f20dad8adb
Implement stored routine editor, see issue #420
...
Todo: make routines visible in the database tab so they can be edited.
2009-02-28 22:57:55 +00:00