MCPcopy Create free account
hub / github.com/apache/cloudberry / requireDistributedTransactionContext

Function requireDistributedTransactionContext

src/backend/cdb/cdbtm.c:149–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149static void
150requireDistributedTransactionContext(DtxContext requiredCurrentContext)
151{
152 if (DistributedTransactionContext != requiredCurrentContext)
153 {
154 elog(FATAL, "Expected segment distributed transaction context to be '%s', found '%s'",
155 DtxContextToString(requiredCurrentContext),
156 DtxContextToString(DistributedTransactionContext));
157 }
158}
159
160static bool
161isDtxContext(void)

Callers 1

Calls 1

DtxContextToStringFunction · 0.85

Tested by

no test coverage detected