[backport 3.5] box: export txn savepoint symbols#11913
Merged
sergepetrenko merged 1 commit intorelease/3.5from Oct 10, 2025
Merged
[backport 3.5] box: export txn savepoint symbols#11913sergepetrenko merged 1 commit intorelease/3.5from
sergepetrenko merged 1 commit intorelease/3.5from
Conversation
When txn savepoint machinery was implemented, its functions were marked with API_EXPORT qualifier and they were added to `extra/exports` list. However, they were decalred out of `cond public` scope, so they weren't exported actually - the commit fixes that mistake. Along the way, the commit covers exported functions controlling transaction flow with tests. Closes #11731 @TarantoolBot document Title: Fix txn savepoint methods in C API Since: 3.2.3, 3.3.4, 3.4.2, 3.5.1, 3.6.0 Current documentation contains incorrect definitions of savepoint related functions. The correct ones are: ```c API_EXPORT box_txn_savepoint_t * box_txn_savepoint(void); API_EXPORT int box_txn_rollback_to_savepoint(box_txn_savepoint_t *savepoint); ``` Also, these functions were not exported by mistake. So we should delete them from docs of old Tarantool versions or write a note explaining that these methods were forgotten and one can find them in newer versions. (cherry picked from commit 8a1dad8)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(This PR is a backport of #11903 to
release/3.5to a future3.5.1release.)When txn savepoint machinery was implemented, its functions were marked with API_EXPORT qualifier and they were added to
extra/exportslist. However, they were decalred out ofcond publicscope, so they weren't exported actually - the commit fixes that mistake.Along the way, the commit covers exported functions controlling transaction flow with tests.
Closes #11731