My Project
Public Member Functions | Protected Attributes | Friends
Item_bool_func2 Class Reference
Inheritance diagram for Item_bool_func2:
Item_bool_func Item_int_func Item_func Item_result_field Item Item_bool_rowready_func2 Item_func_like Item_func_nullif Item_func_strcmp Item_func_xor Item_func_eq Item_func_equal Item_func_ge Item_func_gt Item_func_le Item_func_lt Item_func_ne

List of all members.

Public Member Functions

 Item_bool_func2 (Item *a, Item *b)
void fix_length_and_dec ()
int set_cmp_func ()
optimize_type select_optimize () const
virtual enum Functype rev_functype () const
bool have_rev_func () const
virtual void print (String *str, enum_query_type query_type)
bool is_null ()
const CHARSET_INFO * compare_collation ()
void top_level_item ()
void cleanup ()

Protected Attributes

Arg_comparator cmp
bool abort_on_null

Friends

class Arg_comparator

Member Function Documentation

virtual void Item_bool_func2::print ( String str,
enum_query_type  query_type 
) [inline, 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_func.

Reimplemented in Item_func_nullif, and Item_func_strcmp.


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