MySQL 9.1.0
Source Code Documentation
mysql_stored_program_metadata_query_imp Class Reference

Implementation of the mysql_stored_program services. More...

#include <mysql_stored_program_imp.h>

Static Public Member Functions

static mysql_service_status_t get (stored_program_handle sp_handle, const char *key, void *value) noexcept
 Implementation of the mysql_stored_program services. More...
 

Detailed Description

Implementation of the mysql_stored_program services.

Member Function Documentation

◆ get()

mysql_service_status_t mysql_stored_program_metadata_query_imp::get ( stored_program_handle  sp_handle,
const char *  key,
void *  value 
)
staticnoexcept

Implementation of the mysql_stored_program services.

Get stored program data

Accepted keys and corresponding data type

"sp_name" -> mysql_cstring_with_length * "database_name" -> mysql_cstring_with_length * "qualified_name" -> mysql_cstring_with_length * "sp_language" -> mysql_cstring_with_length * "sp_body" -> mysql_cstring_with_length * "sp_type" -> uint16_t "argument_count" -> uint32_t

Note
Have the key at least 7 characters long, with unique first 8 characters.
Parameters
[in]sp_handleHandle to stored procedure structure
[in]keyMetadata name
[out]valueMetadata value
Returns
Status of operation
Return values
MYSQL_SUCCESSSuccess
MYSQL_FAILUREFailure

The documentation for this class was generated from the following files: