Repository navigation
dbeaver/dbeaver#41407 Hide internal Firebird domains from column type list - #42665
serge-rider merged 1 commit into
Conversation
Signed-off-by: seonwoo_jung <[email protected]>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Fixes #41407
Opening a column of a Firebird table froze the UI because the "Data Type" combo was filled with every row of
RDB$FIELDS.FireBirdDataTypeCacheloads all domains, including the system domains and the implicitRDB$<n>domain Firebird creates for each column declared without a domain, and the genericColumnTypeNameListProviderkeeps any name starting with a letter, so all of them became combo items (63839 in the reporter's database).Change:
FireBirdTableColumn.getTypeName()now usesFireBirdColumnTypeNameListProvider, which dropsRDB$-prefixed names from the list returned by the base provider. Custom values are still allowed, as before.FireBirdTableColumnstill looks up its own (possibly implicit) domain there to get its charset and data kind.FireBirdColumnTypeNameListProviderTest: built-in types and user domains stay in the list, andRDB$1/RDB$100010/RDB$FIELD_NAMEare left out. Before this change the column used the base provider, which returns thoseRDB$names as well.Verification done: full CE aggregate build
mvn verify -T1C -Pproduct-dbeaver-ce,product-dbeaver-eclipse-ce(withdbeaver-commonanddatadam-apichecked out as siblings) passes, and all tests inorg.jkiss.dbeaver.ext.firebird.testpass, including the new one. I have not run it against a live Firebird 2.5 server.AI disclosure: this change was investigated, written and verified with an AI coding assistant (Claude).