MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Create_func_no_geom Class Reference
Inheritance diagram for Create_func_no_geom:
Collaboration diagram for Create_func_no_geom:

Public Member Functions

virtual Itemcreate_func (THD *thd, LEX_STRING name, List< Item > *item_list)

Static Public Attributes

static Create_func_no_geom s_singleton

Protected Member Functions

 Create_func_no_geom ()
virtual ~Create_func_no_geom ()
- Protected Member Functions inherited from Create_func
 Create_func ()
virtual ~Create_func ()

Detailed Description

Common (non) builder for geometry functions. This builder is used in –without-geometry builds only, to report an error.

Definition at line 203 of file item_create.cc.

Constructor & Destructor Documentation

Create_func_no_geom::Create_func_no_geom ( )
inlineprotected

Constructor.

Definition at line 213 of file item_create.cc.

virtual Create_func_no_geom::~Create_func_no_geom ( )
inlineprotectedvirtual

Destructor.

Definition at line 215 of file item_create.cc.

Member Function Documentation

Item * Create_func_no_geom::create_func ( THD *  thd,
LEX_STRING  name,
List< Item > *  item_list 
)
virtual

The builder create method. Given the function name and list or arguments, this method creates an Item that represents the function call. In case or errors, a NULL item is returned, and an error is reported. Note that the thd object may be modified by the builder. In particular, the following members/methods can be set/called, depending on the function called and the function possible side effects.

  • thd->lex->binlog_row_based_if_mixed
  • thd->lex->current_context()
  • thd->lex->safe_to_cache_query
  • thd->lex->uncacheable(UNCACHEABLE_SIDEEFFECT)
  • thd->lex->uncacheable(UNCACHEABLE_RAND)
  • thd->lex->add_time_zone_tables_to_query_tables(thd)
Parameters
thdThe current thread
nameThe function name
item_listThe list of arguments to the function, can be NULL
Returns
An item representing the parsed function call, or NULL

Implements Create_func.

Definition at line 2679 of file item_create.cc.

Member Data Documentation

Create_func_no_geom Create_func_no_geom::s_singleton
static

Singleton.

Definition at line 209 of file item_create.cc.


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