My Project
Public Member Functions | Protected Attributes
Item_maxmin_subselect Class Reference
Inheritance diagram for Item_maxmin_subselect:
Item_singlerow_subselect Item_subselect Item_result_field Item

List of all members.

Public Member Functions

 Item_maxmin_subselect (THD *thd, Item_subselect *parent, st_select_lex *select_lex, bool max, bool ignore_nulls)
virtual void print (String *str, enum_query_type query_type)
virtual void cleanup ()
bool any_value ()
void register_value ()
void reset_value_registration ()

Protected Attributes

bool max
bool was_values

Member Function Documentation

void Item_maxmin_subselect::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:

Reimplemented from Item_subselect.

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