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

#include <item.h>

Inheritance diagram for Item_name_string:
Collaboration diagram for Item_name_string:

Public Member Functions

 Item_name_string (const Name_string name)
void set_autogenerated (bool is_autogenerated)
bool is_autogenerated () const
void copy (const char *str_arg, size_t length_arg, const CHARSET_INFO *cs_arg, bool is_autogenerated_arg)
- Public Member Functions inherited from Name_string
 Name_string (const char *str, size_t length)
 Name_string (const LEX_STRING str)
 Name_string (const char *str, size_t length, bool is_null_terminated)
 Name_string (const LEX_STRING str, bool is_null_terminated)
void copy (const char *str, size_t length, const CHARSET_INFO *cs)
void copy (const char *str, size_t length)
void copy (const char *str)
void copy (const LEX_STRING lex)
void copy (const LEX_STRING *lex)
void copy (const Name_string str)
bool eq (const char *str) const
bool eq_safe (const char *str) const
bool eq (const Name_string name) const
bool eq_safe (const Name_string name) const
- Public Member Functions inherited from Simple_cstring
 Simple_cstring (const char *str_arg, size_t length_arg)
 Simple_cstring (const LEX_STRING arg)
void reset ()
void set (const char *str)
const char * ptr () const
bool is_set () const
size_t length () const
bool eq_bin (const Simple_cstring other) const
void strcpy (char *buff) const

Additional Inherited Members

- Protected Member Functions inherited from Simple_cstring
void set (const char *str_arg, size_t length_arg)

Detailed Description

Storage for Item names. Adds "autogenerated" flag and warning functionality to Name_string.

Definition at line 251 of file item.h.

Member Function Documentation

void Item_name_string::copy ( const char *  str_arg,
size_t  length_arg,
const CHARSET_INFO cs_arg,
bool  is_autogenerated_arg 
)

Copy name together with autogenerated flag. Produce a warning if name was cut.

Definition at line 1006 of file item.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Item_name_string::is_autogenerated ( ) const
inline

Return the auto-generated flag.

Definition at line 272 of file item.h.

Here is the caller graph for this function:

void Item_name_string::set_autogenerated ( bool  is_autogenerated)
inline

Set m_is_autogenerated flag to the given value.

Definition at line 265 of file item.h.

Here is the call graph for this function:


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