MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE isc_request_info

Function API_ROUTINE isc_request_info

src/yvalve/why.cpp:3283–3302  ·  view source on GitHub ↗

Provide information on blob object.

Source from the content-addressed store, hash-verified

3281
3282// Provide information on blob object.
3283ISC_STATUS API_ROUTINE isc_request_info(ISC_STATUS* userStatus, isc_req_handle* reqHandle,
3284 SSHORT level, SSHORT itemLength, const SCHAR* items, SSHORT bufferLength, SCHAR* buffer)
3285{
3286 StatusVector status(userStatus);
3287 CheckStatusWrapper statusWrapper(&status);
3288
3289 try
3290 {
3291 RefPtr<YRequest> request(translateHandle(requests, reqHandle));
3292
3293 request->getInfo(&statusWrapper, level, itemLength, reinterpret_cast<const UCHAR*>(items),
3294 bufferLength, reinterpret_cast<UCHAR*>(buffer));
3295 }
3296 catch (const Exception& e)
3297 {
3298 e.stuffException(&statusWrapper);
3299 }
3300
3301 return status[1];
3302}
3303
3304// API to be used to tell Firebird to reset it's FPE handler - eg: client has an FPE of it's own
3305// and just changed it. Returns prior setting of the FPE reset flag.

Callers

nothing calls this directly

Calls 3

translateHandleFunction · 0.85
getInfoMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected