| My Project
   
    | 
 
  
 | Public Member Functions | |
| Item_static_float_func (const Name_string &name_arg, double val_arg, uint decimal_par, uint length) | |
| virtual void | print (String *str, enum_query_type query_type) | 
| Item * | safe_charset_converter (const CHARSET_INFO *tocs) | 
| virtual void Item_static_float_func::print | ( | String * | str, | 
| enum_query_type | query_type | ||
| ) |  [inline, virtual] | 
This method is used for to:
For more information about view definition query, INFORMATION_SCHEMA query and why they should be generated from the Item-tree,
Reimplemented from Item_float.
| Item * Item_static_float_func::safe_charset_converter | ( | const CHARSET_INFO * | tocs | ) |  [virtual] | 
Created mostly for mysql_prepare_table(). Important when a string ENUM/SET column is described with a numeric default value:
CREATE TABLE t1(a SET('a') DEFAULT 1);
We cannot use generic Item::safe_charset_converter(), because the latter returns a non-fixed Item, so val_str() crashes afterwards. Override Item_num method, to return a fixed item.
Reimplemented from Item_num.
 1.7.6.1
 1.7.6.1