MySQL 9.4.0
Source Code Documentation
s_mysql_mysql_library_ext Struct Reference

Services for reading the properties of the Libraries that are imported by the routines. More...

#include <mysql_library_ext.h>

Public Attributes

mysql_service_status_t(* get_body )(my_h_library library_handle, mysql_cstring_with_length *body, bool *is_binary)
 Get library's body. More...
 

Detailed Description

Services for reading the properties of the Libraries that are imported by the routines.

How to use: my_h_library library_handle; library->init(nullptr, schema, name, version, &library_handle); mysql_cstring_with_length body; bool is_binary; library_ext->get_body(library_handle, &is_binary); ... use the body throughout the caller. library->deinit(library_handle);

Member Data Documentation

◆ get_body

mysql_service_status_t(* s_mysql_mysql_library_ext::get_body) (my_h_library library_handle, mysql_cstring_with_length *body, bool *is_binary)

Get library's body.

Parameters
[in]library_handleHandle to library.
[out]bodyLibrary's body.
[out]is_binaryIs the library body stored with a binary character set?
Note
: The returned Library's body is valid only while the library_handle is valid.
Returns
Status of get operation:
Return values
falseSuccess.
trueFailure.

The documentation for this struct was generated from the following file: