Skip to content

Refactoring of header_page - #9343

Open
aafemt wants to merge 2 commits into
FirebirdSQL:masterfrom
aafemt:ods13-compat
Open

aafemt wants to merge 2 commits into
FirebirdSQL:masterfrom
aafemt:ods13-compat

Conversation

@aafemt

@aafemt aafemt commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

This PR moves fields required for engines and third-party tools to correctly recognize and report ODS number to the same offsets as in ODS 12-13. It allows engine correctly fill minor ODS version in isc_wrong_ods error's arguments and avoid text "found 12.126" in the error message on attempt to attach to FB 4 database that seems weird and wrong.

Name of crypt plugin was moved to variable part of header to allow plugin names up to 255 bytes.

@AlexPeshkoff

Copy link
Copy Markdown
Member

I see that major version was not moved. I.e. old engine can recognize it. What about the rest of fields - nobody ever guaranteed that they remain at same offsets.

@aafemt

aafemt commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

isc_wrong_ods message also includes minor version.

@aafemt aafemt changed the title Partial compatibility of header_page with ODS 13 Refactoring of header_page Nov 30, 2026
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.

2 participants