Skip to content

Fixed #9160: Failed COMMIT of a DDL transaction leaves orphan RDB$FORMATS records - #9164

Merged
AlexPeshkoff merged 1 commit into
v5.0-releasefrom
work/fix9160
Sep 24, 2026
Merged

AlexPeshkoff merged 1 commit into
v5.0-releasefrom
work/fix9160

Conversation

@AlexPeshkoff

Copy link
Copy Markdown
Member

That's partial fix for particular problem, it does not pretend to fix other bad cases with RDB$FORMATS.

@dyemanov dyemanov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure whether its should be moved under IF for an extra safety or not, but failed to imagine how it could fail with the current code. Leaving it up to you.

@AlexPeshkoff

Copy link
Copy Markdown
Member Author

I'm not really sure whether its should be moved under IF for an extra safety or not...

IMO 'if' is needed here to avoid use of nullptr if something goes wrong (it's 0 phase!) in metadata cache. RDB$FORMATS cleanup is safe.

@AlexPeshkoff
AlexPeshkoff merged commit 22e4dec into v5.0-release Sep 24, 2026
41 of 44 checks passed
@AlexPeshkoff
AlexPeshkoff deleted the work/fix9160 branch September 24, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants