My Project
Public Member Functions | Protected Member Functions
Item_func_sp Class Reference
Inheritance diagram for Item_func_sp:
Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_func_sp (Name_resolution_context *context_arg, sp_name *name)
 Item_func_sp (Name_resolution_context *context_arg, sp_name *name, List< Item > &list)
table_map get_initial_pseudo_tables () const
void update_used_tables ()
void cleanup ()
const char * func_name () const
enum enum_field_types field_type () const
Fieldtmp_table_field (TABLE *t_arg)
void make_field (Send_field *tmp_field)
Item_result result_type () const
longlong val_int ()
double val_real ()
bool get_date (MYSQL_TIME *ltime, uint fuzzydate)
bool get_time (MYSQL_TIME *ltime)
my_decimalval_decimal (my_decimal *dec_buf)
Stringval_str (String *str)
virtual bool change_context_processor (uchar *cntx)
bool sp_check_access (THD *thd)
 Checks if requested access to function can be granted to user. If function isn't found yet, it searches function first. If function can't be found or user don't have requested access error is raised.
virtual enum Functype functype () const
bool fix_fields (THD *thd, Item **ref)
void fix_length_and_dec (void)
 Initialize local members with values from the Field interface.
bool is_expensive ()
Fieldget_sp_result_field ()
virtual void update_null_value ()

Protected Member Functions

bool is_expensive_processor (uchar *arg)

Member Function Documentation

void Item_func_sp::fix_length_and_dec ( void  ) [virtual]

Initialize local members with values from the Field interface.

Note:
called from Item::fix_fields.

Implements Item_result_field.

table_map Item_func_sp::get_initial_pseudo_tables ( ) const [virtual]

Must not be called before the procedure is resolved, i.e. ::init_result_field().

Reimplemented from Item_func.

bool Item_func_sp::sp_check_access ( THD *  thd)

Checks if requested access to function can be granted to user. If function isn't found yet, it searches function first. If function can't be found or user don't have requested access error is raised.

Parameters:
thdthread handler
Returns:
Indication if the access was granted or not.
Return values:
FALSEAccess is granted.
TRUERequested access can't be granted or function doesn't exists.

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