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

Method BLB_cancel

src/jrd/blb.cpp:97–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96
97void blb::BLB_cancel(thread_db* tdbb)
98{
99/**************************************
100 *
101 * b l b : : c a n c e l
102 *
103 **************************************
104 *
105 * Functional description
106 * Abort a blob operation. If the blob is a partially created
107 * temporary blob, free up any allocated pages. In any case,
108 * get rid of the blob block.
109 *
110 **************************************/
111
112 SET_TDBB(tdbb);
113
114 // Release filter control resources
115
116 if (blb_flags & BLB_temporary)
117 {
118 if (!(blb_flags & BLB_closed))
119 blb_transaction->tra_temp_blobs_count--;
120
121 delete_blob(tdbb, 0);
122 }
123
124 destroy(true);
125}
126
127
128void blb::BLB_check_well_formed(Jrd::thread_db* tdbb, const dsc* desc)

Callers 10

executeMethod · 0.80
cancelBlobProcedureMethod · 0.80
freeEngineDataMethod · 0.80
release_blobsFunction · 0.80
clearMethod · 0.80
moveMethod · 0.80
TRA_release_transactionFunction · 0.80
doInsertMethod · 0.80
doUpdateMethod · 0.80
getExtBlobMethod · 0.80

Calls 3

SET_TDBBFunction · 0.85
JRD_get_thread_dataFunction · 0.85
destroyFunction · 0.50

Tested by

no test coverage detected