My Project
Public Member Functions
Item_datetime_typecast Class Reference
Inheritance diagram for Item_datetime_typecast:
Item_datetime_func Item_temporal_func Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_datetime_typecast (Item *a)
 Item_datetime_typecast (Item *a, uint8 dec_arg)
void print (String *str, enum_query_type query_type)
const char * func_name () const
const char * cast_type () const
void fix_length_and_dec ()
bool get_date (MYSQL_TIME *res, uint fuzzy_date)

Member Function Documentation

void Item_datetime_typecast::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_func.


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