MySQL 8.0.39
Source Code Documentation
store_key Class Reference

class to copying an field/item to a key struct More...

#include <sql_select.h>

Inheritance diagram for store_key:
[legend]

Public Types

enum  store_key_result { STORE_KEY_OK , STORE_KEY_FATAL , STORE_KEY_CONV }
 

Public Member Functions

 store_key (THD *thd, Field *to_field_arg, uchar *ptr, uchar *null_ptr_arg, uint length, Item *item_arg)
 
virtual ~store_key ()=default
 
virtual const char * name () const
 
store_key_result copy ()
 sets ignore truncation warnings mode and calls the real copy method More...
 

Public Attributes

bool null_key {false}
 

Protected Member Functions

virtual enum store_key_result copy_inner ()
 

Protected Attributes

Fieldto_field
 
Itemitem
 

Detailed Description

class to copying an field/item to a key struct

Member Enumeration Documentation

◆ store_key_result

Enumerator
STORE_KEY_OK 
STORE_KEY_FATAL 
STORE_KEY_CONV 

Constructor & Destructor Documentation

◆ ~store_key()

virtual store_key::~store_key ( )
virtualdefault

Member Function Documentation

◆ name()

virtual const char * store_key::name ( ) const
inlinevirtual

Member Data Documentation

◆ item

Item* store_key::item
protected

◆ null_key

bool store_key::null_key {false}

◆ to_field

Field* store_key::to_field
protected

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