My Project
Public Member Functions | Public Attributes
Item_splocal Class Reference
Inheritance diagram for Item_splocal:
Item_sp_variable Settable_routine_parameter Item

List of all members.

Public Member Functions

 Item_splocal (const Name_string sp_var_name, uint sp_var_idx, enum_field_types sp_var_type, uint pos_in_q=0, uint len_in_q=0)
bool is_splocal ()
Itemthis_item ()
const Itemthis_item () const
Item ** this_item_addr (THD *thd, Item **)
virtual void print (String *str, enum_query_type query_type)
uint get_var_idx () const
enum Type type () const
Item_result result_type () const
enum_field_types field_type () const
Settable_routine_parameterget_settable_routine_parameter ()

Public Attributes

bool limit_clause_param
uint pos_in_query
uint len_in_query

Member Function Documentation

void Item_splocal::print ( String str,
enum_query_type  query_type 
) [virtual]

This method is used for to:

  • to generate a view definition query (SELECT-statement);
  • to generate a SQL-query for EXPLAIN EXTENDED;
  • to generate a SQL-query to be shown in INFORMATION_SCHEMA;
  • debug.

For more information about view definition query, INFORMATION_SCHEMA query and why they should be generated from the Item-tree,

See also:
mysql_register_view().

Reimplemented from Item.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines