| Summary: | SQL Results Parameters tab should not appear when there are no parameters | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Data Tools | Reporter: | Brian Payton <bpayton> | ||||
| Component: | SQL Results View | Assignee: | Brian Payton <bpayton> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.8 | ||||||
| Target Milestone: | 1.8 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Brian Payton
Created attachment 169951 [details]
Patch for plugin o.e.d.sqltools.result.ui
The fix is pretty simple. There is code in the class MultipleTabsGridSection in plugin org.eclipse.datatools.sqltools.result.ui that only displays the parameter tab if the parameters list in the result instance is null. There was a fix elsewhere in the code that now causes the case of no parameters to be represented by an empty parameter list rather than a null parameter list. The fix is to check for *both* null and empty parameter to determine whether or not to display the parameter tab. Checked in fix, tagged to v201005261700 |