# title: Provide information about Global Commit Number, Commit Number of currently used database snapshot (if any) and Commit Numbers assigned to the committed transactions
# decription:
# From doc\\sql.extensions\\README.builtin_functions.txt about rdb$get_transaction_cn() function:
# ===
# ... numbers returned by RDB$GET_TRANSACTION_CN could have values below:
# -2 - transaction is dead (rolled back)
# -1 - transaction is in limbo
# 0 - transaction is active,
# 1 - transaction committed before database started or less than OIT
# >1 - transaction committed after database started
# NULL - given transaction number is NULL or greater than database Next Transaction
# ===
# Checked on: 4.0.0.1218, 2.578 s.
# ::: NB :::
# This ISQL-based test does NOT verify cases when tx is dead or in limbo.
# Perhaps, Python-based implementation is required and will be created later.
#
# 05.03.2019: renamed RDB$GET_CONTEXT('SYSTEM', 'SNAPSHOT_CN') to RDB$GET_CONTEXT('SYSTEM', 'SNAPSHOT_NUMBER') -- see CORE-6016. Checked on 4.0.0.1455
#
# 09.11.2019: added section with substitutions because GET_OIT_CN can differ in SS vs CS: 9 and 10.