pingcap/tidb
GitHub で見るProvide a session variable to query the last transaction scope
Open
#20,775 opened on 2020年11月2日
good first issuesig/transactiontype/enhancement
Repository metrics
- Stars
- (40,090 stars)
- PR merge metrics
- (平均マージ 14d 4h) (30d で 346 merged PRs)
説明
Development Task
To figure out which transaction scope the last transaction uses, we need a read-only session variable to query it. This is a part of the global/local transaction roadmap #20448.
Implementations
It's similar to other session variables like last_insert_id and last_plan_from_cache. You can refer to the implementation of these variables.