| 3906 | // |
| 3907 | |
| 3908 | static 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 | //____________________________________________________________ |
no outgoing calls
no test coverage detected