Skip to content
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

CURRENT_TRANSACTION and CURRENT_CONNECTION [DOC86] #96

Closed
firebird-automations opened this issue Feb 6, 2013 · 2 comments
Closed

CURRENT_TRANSACTION and CURRENT_CONNECTION [DOC86] #96

firebird-automations opened this issue Feb 6, 2013 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: @paulvink

This line in the LangRefUpds:

The value of CURRENT_TRANSACTION is stored on the database header page and reset upon restore.

may lead to confusion, as users may think that CURRENT_TRANSACTION always contains the id of the most recently started transaction. It should be something like:

The most recent transaction id is stored on the database header page and reset upon restore.

Same for CURRENT_CONNECTION.

@firebird-automations
Copy link
Author

Modified by: @paulvink

description: This line in the LangRefUpds:

The value of CURRENT_TRANSACTION is stored on the database header page and reset upon restore.

may lead to confusion, as users may think that CURRENT_TRANSACTION always contains the id of the most recently started transaction. It should be something like:

The most recent transaction id is stored on the database header page and reset upon restore.

=>

This line in the LangRefUpds:

The value of CURRENT_TRANSACTION is stored on the database header page and reset upon restore.

may lead to confusion, as users may think that CURRENT_TRANSACTION always contains the id of the most recently started transaction. It should be something like:

The most recent transaction id is stored on the database header page and reset upon restore.

Same for CURRENT_CONNECTION.

summary: CURRENT_TRANSACTION => CURRENT_TRANSACTION and CURRENT_CONNECTION

@firebird-automations
Copy link
Author

Commented by: @livius2

I suppose that whole line should not be in description of CURRENT_TRANSACTION
CURRENT_TRANSACTION is a variable and is not stored on header page at all

Header page contain current transaction id but not CURRENT_TRANSACTION variable value
it can be in some point equal but this does not matter

same for connection..

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

No branches or pull requests

2 participants