File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ static char const* MtmGetName(void);
133133static size_t MtmGetTransactionStateSize (void );
134134static void MtmSerializeTransactionState (void * ctx );
135135static void MtmDeserializeTransactionState (void * ctx );
136+ static void MtmInitializeSequence (int64 * start , int64 * step );
136137
137138static void MtmCheckClusterLock (void );
138139static void MtmCheckSlots (void );
@@ -170,7 +171,8 @@ static TransactionManager MtmTM = {
170171 MtmGetName ,
171172 MtmGetTransactionStateSize ,
172173 MtmSerializeTransactionState ,
173- MtmDeserializeTransactionState
174+ MtmDeserializeTransactionState ,
175+ MtmInitializeSequence
174176};
175177
176178char const * const MtmNodeStatusMnem [] =
@@ -348,6 +350,13 @@ MtmDeserializeTransactionState(void* ctx)
348350}
349351
350352
353+ static void
354+ MtmInitializeSequence (int64 * start , int64 * step )
355+ {
356+ * start = MtmNodeId ;
357+ * step = MtmMaxNodes ;
358+ }
359+
351360
352361/*
353362 * -------------------------------------------
You can’t perform that action at this time.
0 commit comments