MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / restartRequest

Function restartRequest

src/dsql/StmtNodes.cpp:11086–11097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11084}
11085
11086static void restartRequest(const Request* request, jrd_tra* transaction)
11087{
11088 const Request* top_request = request->req_snapshot.m_owner;
11089 fb_assert(top_request);
11090 fb_assert(top_request->req_flags & req_update_conflict);
11091
11092 transaction->tra_flags |= TRA_ex_restart;
11093
11094 ERR_post(Arg::Gds(isc_deadlock) <<
11095 Arg::Gds(isc_update_conflict) <<
11096 Arg::Gds(isc_concurrent_transaction) << Arg::Int64(top_request->req_conflict_txn));
11097}
11098
11099// Execute a list of validation expressions.
11100static void validateExpressions(thread_db* tdbb, const Array<ValidateInfo>& validations)

Callers 3

eraseMethod · 0.85
executeMethod · 0.85
modifyMethod · 0.85

Calls 3

GdsClass · 0.85
Int64Class · 0.85
ERR_postFunction · 0.50

Tested by

no test coverage detected