File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ typedef void (*wsrep_log_cb_t)(wsrep_log_level_t, const char *);
118118typedef uint32_t wsrep_cap_t ; //!< capabilities bitmask
119119
120120/*!
121- * Writeset flags
121+ * Writeset flags
122122 *
123123 * TRX_END the writeset and all preceding writesets must be committed
124124 * ROLLBACK all preceding writesets in a transaction must be rolled back
@@ -128,6 +128,7 @@ typedef uint32_t wsrep_cap_t; //!< capabilities bitmask
128128 * NATIVE the writeset contains another writeset in this provider format
129129 *
130130 * TRX_START shall be set on the first trx fragment by provider
131+ * TRX_PREPARE shall be set on the fragment which prepares the transaction
131132 *
132133 * Note that some of the flags are mutually exclusive (e.g. TRX_END and
133134 * ROLLBACK).
@@ -139,7 +140,8 @@ typedef uint32_t wsrep_cap_t; //!< capabilities bitmask
139140#define WSREP_FLAG_COMMUTATIVE ( 1ULL << 4 )
140141#define WSREP_FLAG_NATIVE ( 1ULL << 5 )
141142#define WSREP_FLAG_TRX_START ( 1ULL << 6 )
142- #define WSREP_FLAG_SNAPSHOT ( 1ULL << 7 )
143+ #define WSREP_FLAG_TRX_PREPARE ( 1ULL << 7 )
144+ #define WSREP_FLAG_SNAPSHOT ( 1ULL << 8 )
143145
144146#define WSREP_FLAGS_LAST WSREP_FLAG_SNAPSHOT
145147#define WSREP_FLAGS_MASK ((WSREP_FLAGS_LAST << 1) - 1)
You can’t perform that action at this time.
0 commit comments