MySQL  8.0.17
Source Code Documentation
ErrConvString Class Reference

#include <sql_error.h>

Public Member Functions

 ErrConvString (const String *str)
 
 ErrConvString (const char *str, const CHARSET_INFO *cs)
 
 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/9]

ErrConvString::ErrConvString ( const String str)
inlineexplicit

◆ ErrConvString() [2/9]

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

◆ ErrConvString() [3/9]

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

◆ ErrConvString() [4/9]

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

◆ ErrConvString() [5/9]

ErrConvString::ErrConvString ( longlong  nr)
inline

◆ ErrConvString() [6/9]

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

◆ ErrConvString() [7/9]

ErrConvString::ErrConvString ( double  nr)

◆ ErrConvString() [8/9]

ErrConvString::ErrConvString ( const my_decimal nr)

◆ ErrConvString() [9/9]

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: