MySQL 8.0.40
Source Code Documentation
dd::Sdi_wcontext Class Reference

Opaque context which keeps reusable resources needed during serialization. More...

Public Member Functions

 Sdi_wcontext (THD *thd, const String_type *schema_name)
 
bool error () const
 
void set_error ()
 
THDthd () const
 

Private Attributes

Byte_buffer m_buf
 A reusable byte buffer for e.g. More...
 
THDm_thd
 Thread context. More...
 
const String_typem_schema_name
 Pointer to schema name to use for schema references in SDI. More...
 
bool m_error
 Flag indicating that an error has occurred. More...
 

Friends

char * buf_handle (Sdi_wcontext *wctx, size_t sz)
 Return a non-owning pointer to a char buffer which can be used for e.g. More...
 
const String_typelookup_schema_name (Sdi_wcontext *wctx)
 Returns const reference to string holding schema name to use in SDI. More...
 

Detailed Description

Opaque context which keeps reusable resources needed during serialization.


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