MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Blob_mem_storage Class Reference

#include <table.h>

Inheritance diagram for Blob_mem_storage:
Collaboration diagram for Blob_mem_storage:

Public Member Functions

void reset ()
char * store (const char *from, uint length)
void set_truncated_value (bool is_truncated_value)
bool is_truncated_value ()

Additional Inherited Members

- Static Public Member Functions inherited from Sql_alloc
static void * operator new (size_t size) throw ()
static void * operator new[] (size_t size) throw ()
static void * operator new[] (size_t size, MEM_ROOT *mem_root) throw ()
static void * operator new (size_t size, MEM_ROOT *mem_root) throw ()
static void operator delete (void *ptr, size_t size)
static void operator delete (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, size_t size)

Detailed Description

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.

Definition at line 918 of file table.h.

Member Function Documentation

char* Blob_mem_storage::store ( const char *  from,
uint  length 
)
inline

Fuction creates duplicate of 'from' string in 'storage' MEM_ROOT.

Parameters
fromstring to copy
lengthstring length
Return values
Pointerto the copied string.
0if an error occured.

Definition at line 951 of file table.h.


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