My Project
Public Member Functions | Protected Member Functions
Item_func_user Class Reference
Inheritance diagram for Item_func_user:
Item_func_sysconst Item_str_func Item_func Item_result_field Item Item_func_current_user

List of all members.

Public Member Functions

Stringval_str (String *)
bool fix_fields (THD *thd, Item **ref)
void fix_length_and_dec ()
const char * func_name () const
const Name_string fully_qualified_func_name () const
type_conversion_status save_in_field (Field *field, bool no_conversions)

Protected Member Functions

bool init (const char *user, const char *host)

Member Function Documentation

bool Item_func_user::init ( const char *  user,
const char *  host 
) [protected]
USER() is replicated correctly if binlog_format=ROW or (as of BUG#28086) binlog_format=MIXED, but is incorrectly replicated to '' if binlog_format=STATEMENT.
type_conversion_status Item_func_user::save_in_field ( Field field,
bool  no_conversions 
) [inline, virtual]

Save a temporal value in packed longlong format into a Field. Used in optimizer.

OUTfield The field to set the value to.
Return values:
0On success.
>0In error.

Reimplemented from Item.

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