MySQL 8.0.40
Source Code Documentation
|
Error handler that copies error message into specified buffer. More...
Public Member Functions | |
String_error_handler (char *buffer, size_t size, unsigned long *out_size=nullptr) | |
Object construction. More... | |
void | error (const char *message,...) override |
Copy message into the buffer. More... | |
Public Member Functions inherited from IError_handler | |
virtual | ~IError_handler ()=default |
Virtual destructor. More... | |
Private Attributes | |
char * | m_buffer |
Buffer pointer. More... | |
size_t | m_size |
Buffer size. More... | |
unsigned long * | m_out_size |
Written buffer size. More... | |
Error handler that copies error message into specified buffer.
|
inline |
Object construction.
buffer | Buffer, where the error is to be copied. |
size | Buffer size. |
out_size | [out] Written bytes into the buffer. |
|
inlineoverridevirtual |
|
private |
Buffer pointer.
|
private |
Written buffer size.
|
private |
Buffer size.