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

Method unlinkFromAttachment

src/jrd/tra.cpp:2446–2458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2444
2445
2446void jrd_tra::unlinkFromAttachment()
2447{
2448 for (jrd_tra** ptr = &tra_attachment->att_transactions; *ptr; ptr = &(*ptr)->tra_next)
2449 {
2450 if (*ptr == this)
2451 {
2452 *ptr = tra_next;
2453 return;
2454 }
2455 }
2456
2457 tra_abort("transaction to unlink is missing in the attachment");
2458}
2459
2460
2461void jrd_tra::linkToAttachment(Attachment* attachment)

Callers 2

TRA_release_transactionFunction · 0.80
transaction_startFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected