MySQL 8.0.40
Source Code Documentation
|
#include "m_string.h"
Go to the source code of this file.
Functions | |
char * | serialize_xid (char *buf, long fmt, long gln, long bln, const char *dat) |
Function serializes XID which is characterized by by four last arguments of the function. More... | |
|
inline |
Function serializes XID which is characterized by by four last arguments of the function.
Serialized XID is presented in valid hex format and is returned to the caller in a buffer pointed by the first argument. The buffer size provived by the caller must be not less than 8 + 2 * XIDDATASIZE + 4 * sizeof(XID::formatID) + 1, see XID::serialize_xid() that is a caller and plugin.h for XID declaration.
buf | pointer to a buffer allocated for storing serialized data |
fmt | formatID value |
gln | gtrid_length value |
bln | bqual_length value |
dat | data value |