| 95 | |
| 96 | |
| 97 | void 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 | |
| 128 | void blb::BLB_check_well_formed(Jrd::thread_db* tdbb, const dsc* desc) |
no test coverage detected