commit - 7bcbdc9745624c3a47098bc63402558e1fb169ed
commit + 89424284376966e184041c846c52ff69dc554b14
blob - 5f8f5e079cd7cb7e53e95316ccc3dd12f47b925b
blob + 349ae8b65acfa73f96c5232af0a83a9531c99e39
--- src/box/memtx_tx.c
+++ src/box/memtx_tx.c
* Do actual work.
*/
static struct tuple *
-memtx_tx_tuple_clarify_impl(struct txn *txn, struct space *space,
- struct tuple *tuple, struct index *index,
+memtx_tx_story_clarify_impl(struct txn *txn, struct space *space,
+ struct memtx_story *top_story, struct index *index,
uint32_t mk_index, bool is_prepared_ok)
{
- assert(tuple_has_flag(tuple, TUPLE_IS_DIRTY));
- struct memtx_story *top_story = memtx_tx_story_get(tuple);
struct memtx_story *story = top_story;
bool own_change = false;
struct tuple *result = NULL;
/**
* Helper of @sa memtx_tx_tuple_clarify.
+ * Do actual work.
+ */
+static struct tuple *
+memtx_tx_tuple_clarify_impl(struct txn *txn, struct space *space,
+ struct tuple *tuple, struct index *index,
+ uint32_t mk_index, bool is_prepared_ok)
+{
+ assert(tuple_has_flag(tuple, TUPLE_IS_DIRTY));
+ struct memtx_story *story = memtx_tx_story_get(tuple);
+ return memtx_tx_story_clarify_impl(txn, space, story, index,
+ mk_index, is_prepared_ok);
+}
+
+/**
+ * Helper of @sa memtx_tx_tuple_clarify.
* Detect whether the transaction can see prepared, but unconfirmed commits.
*/
static bool