MySQL 8.0.39
Source Code Documentation
|
Class is used as a BLOB field value storage for intermediate GROUP_CONCAT results. More...
#include <table.h>
Public Member Functions | |
Blob_mem_storage () | |
~Blob_mem_storage () | |
void | reset () |
char * | store (const char *from, size_t length) |
Function creates duplicate of 'from' string in 'storage' MEM_ROOT. More... | |
void | set_truncated_value (bool is_truncated_value) |
bool | is_truncated_value () const |
Private Attributes | |
MEM_ROOT | storage |
bool | truncated_value |
Sign that some values were cut during saving into the storage. More... | |
Class is used as a BLOB field value storage for intermediate GROUP_CONCAT results.
Used only for GROUP_CONCAT with DISTINCT or ORDER BY options.
Blob_mem_storage::Blob_mem_storage | ( | ) |
Blob_mem_storage::~Blob_mem_storage | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Function creates duplicate of 'from' string in 'storage' MEM_ROOT.
from | string to copy |
length | string length |
Pointer | to the copied string. |
0 | if an error occurred. |
|
private |
|
private |
Sign that some values were cut during saving into the storage.