Skip to content

Update RDB$TRANSACTION_STATE values #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

mlazdans
Copy link
Contributor

@mlazdans mlazdans commented Apr 2, 2025

On Firebird 5 I see these values for RDB$TRANSACTION_STATE in RDB$TRANSACTIONS table. Quick glance at source code confirms that.

@mrotteveel
Copy link
Member

mrotteveel commented Apr 3, 2025

Thanks, it seems to have been documented wrong at least since the InterBase 6 Language Reference (page 268 in the PDF); I have verified against Firebird 1.5 and 2.5, and they also use 1 for limbo, 3 for rolled back (the method I used for testing results in committed transactions disappearing from RDB$TRANSACTIONS), and it's confirmed by the RDB$TYPES table.

I'll also update the 2.5, 3.0 and 4.0 language references.

@mrotteveel mrotteveel self-assigned this Apr 3, 2025
@mrotteveel mrotteveel merged commit f35b055 into FirebirdSQL:master Apr 3, 2025
@mrotteveel
Copy link
Member

I'll publish the changes to the site later today, and thanks for contributing!

@mrotteveel
Copy link
Member

New version is published, but due to the cache, it might take a few hours to become visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants