My Project
Public Member Functions
Item_decimal_typecast Class Reference
Inheritance diagram for Item_decimal_typecast:
Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_decimal_typecast (Item *a, int len, int dec)
Stringval_str (String *str)
double val_real ()
longlong val_int ()
bool get_date (MYSQL_TIME *ltime, uint fuzzydate)
bool get_time (MYSQL_TIME *ltime)
my_decimalval_decimal (my_decimal *)
enum Item_result result_type () const
enum_field_types field_type () const
void fix_length_and_dec ()
const char * func_name () const
virtual void print (String *str, enum_query_type query_type)

Member Function Documentation

void Item_decimal_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