MCPcopy Create free account
hub / github.com/documentdb/documentdb / GetOperationCancellationQuery

Function GetOperationCancellationQuery

pg_documentdb/src/api_hooks.c:620–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618
619
620const char *
621GetOperationCancellationQuery(int64 shardId, StringView *opIdView, int *nargs,
622 Oid **argTypes,
623 Datum **argValues, char **argNulls,
624 const char *(*default_get_query)(int64, StringView *, int *,
625 Oid **, Datum **, char **))
626{
627 if (get_operation_cancellation_query_hook != NULL)
628 {
629 return get_operation_cancellation_query_hook(shardId, opIdView, nargs, argTypes,
630 argValues, argNulls);
631 }
632 else if (default_get_query == NULL)
633 {
634 return NULL;
635 }
636 return default_get_query(shardId, opIdView, nargs, argTypes, argValues, argNulls);
637}
638
639
640bool

Callers 1

command_kill_opFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected