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

Method doDelete

src/jrd/replication/Applier.cpp:1401–1412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1399}
1400
1401void Applier::doDelete(thread_db* tdbb, record_param* rpb, jrd_tra* transaction)
1402{
1403 fb_assert(!(transaction->tra_flags & TRA_system));
1404
1405 RLCK_reserve_relation(tdbb, transaction, rpb->rpb_relation, true);
1406
1407 Savepoint::ChangeMarker marker(transaction->tra_save_point);
1408
1409 VIO_erase(tdbb, rpb, transaction);
1410 if (m_enableCascade)
1411 REPL_erase(tdbb, rpb, transaction);
1412}
1413
1414void Applier::logConflict(const char* msg, ...)
1415{

Callers

nothing calls this directly

Calls 3

RLCK_reserve_relationFunction · 0.85
VIO_eraseFunction · 0.85
REPL_eraseFunction · 0.85

Tested by

no test coverage detected