MySQL  8.0.27
Source Code Documentation
sdi_utils.cc File Reference
#include "sql/sdi_utils.h"
#include <string.h>
#include "my_compiler.h"
#include "my_sys.h"
#include "mysqld_error.h"

Functions

bool create_serialized_meta_data (const char *schema_name[[maybe_unused]], const char *table_name[[maybe_unused]], uchar **meta_data[[maybe_unused]], size_t *meta_data_length[[maybe_unused]])
 
bool import_serialized_meta_data (const uchar *meta_data[[maybe_unused]], size_t meta_data_length[[maybe_unused]], bool readonly[[maybe_unused]])
 
bool different_serialized_meta_data (const uchar *a_meta_data, size_t a_meta_data_length, const uchar *b_meta_data, size_t b_meta_data_length)
 This function takes the two submitted serialized meta data blobs, and compares them. More...
 

Function Documentation

◆ create_serialized_meta_data()

bool create_serialized_meta_data ( const char *schema_name]  [[maybe_unused],
const char *table_name]  [[maybe_unused],
uchar **meta_data [[maybe_unused],
size_t *meta_data_length]  [[maybe_unused] 
)

◆ different_serialized_meta_data()

bool different_serialized_meta_data ( const uchar a_meta_data,
size_t  a_meta_data_length,
const uchar b_meta_data,
size_t  b_meta_data_length 
)

This function takes the two submitted serialized meta data blobs, and compares them.

Parameters
[in]a_meta_dataFirst serialized meta data blob
[in]a_meta_data_lengthSize of the first meta data blob
[in]b_meta_dataSecond serialized meta data blob
[in]b_meta_data_lengthSize of the second meta data blob
Return values
falseThe two blobs are identical
trueThe two blobs are different

◆ import_serialized_meta_data()

bool import_serialized_meta_data ( const uchar *meta_data [[maybe_unused],
size_t meta_data_length]  [[maybe_unused],
bool readonly]  [[maybe_unused] 
)