MySQL 8.4.2
Source Code Documentation
ErrConvString Class Reference

#include <sql_error.h>

Public Member Functions

 ErrConvString (const String *str)
 
 ErrConvString (const char *str, size_t length)
 
 ErrConvString (const char *str, size_t length, const CHARSET_INFO *cs)
 
 ErrConvString (longlong nr)
 
 ErrConvString (longlong nr, bool unsigned_flag)
 
 ErrConvString (double nr)
 
 ErrConvString (const my_decimal *nr)
 
 ErrConvString (const MYSQL_TIME *ltime, uint dec)
 
const char * ptr () const
 
size_t length () const
 

Private Attributes

char err_buffer [MYSQL_ERRMSG_SIZE]
 
size_t buf_length
 

Constructor & Destructor Documentation

◆ ErrConvString() [1/8]

ErrConvString::ErrConvString ( const String str)
inlineexplicit

◆ ErrConvString() [2/8]

ErrConvString::ErrConvString ( const char *  str,
size_t  length 
)
inline

◆ ErrConvString() [3/8]

ErrConvString::ErrConvString ( const char *  str,
size_t  length,
const CHARSET_INFO cs 
)
inline

◆ ErrConvString() [4/8]

ErrConvString::ErrConvString ( longlong  nr)
inline

◆ ErrConvString() [5/8]

ErrConvString::ErrConvString ( longlong  nr,
bool  unsigned_flag 
)
inline

◆ ErrConvString() [6/8]

ErrConvString::ErrConvString ( double  nr)

◆ ErrConvString() [7/8]

ErrConvString::ErrConvString ( const my_decimal nr)

◆ ErrConvString() [8/8]

ErrConvString::ErrConvString ( const MYSQL_TIME ltime,
uint  dec 
)

Member Function Documentation

◆ length()

size_t ErrConvString::length ( ) const
inline

◆ ptr()

const char * ErrConvString::ptr ( ) const
inline

Member Data Documentation

◆ buf_length

size_t ErrConvString::buf_length
private

◆ err_buffer

char ErrConvString::err_buffer[MYSQL_ERRMSG_SIZE]
private

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