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

Function request_trans

src/gpre/obj_cxx.cpp:3908–3921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3906//
3907
3908static const TEXT* request_trans( const act* action, const gpre_req* request)
3909{
3910
3911 if (action->act_type == ACT_open)
3912 {
3913 const TEXT* trname = ((open_cursor*) action->act_object)->opn_trans;
3914 if (!trname) {
3915 trname = gpreGlob.transaction_name;
3916 }
3917 return trname;
3918 }
3919
3920 return request ? request->req_trans : gpreGlob.transaction_name;
3921}
3922
3923
3924//____________________________________________________________

Callers 6

gen_blob_openFunction · 0.70
gen_compileFunction · 0.70
gen_cursor_openFunction · 0.70
gen_startFunction · 0.70
make_ok_testFunction · 0.70
t_start_autoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected