Skip to main content

parse_direct_path_prepare_response

Function parse_direct_path_prepare_response 

Source
pub fn parse_direct_path_prepare_response(
    payload: &[u8],
    capabilities: ClientCapabilities,
) -> Result<DirectPathPrepareResult>
Expand description

Parses the response to TTC function 128 (direct path prepare).

capabilities.charset_id drives the CLOB metadata override (charset ids of 800 and above are multi-byte, in which case implicit-charset CLOBs switch to the NCHAR form). Mirrors the reference’s DirectPathPrepareMessage._process_metadata/_process_return_parameters.