MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
set_var_password Class Reference
Inheritance diagram for set_var_password:
Collaboration diagram for set_var_password:

Public Member Functions

 set_var_password (LEX_USER *user_arg, char *password_arg)
int check (THD *thd)
int update (THD *thd)
void print (THD *thd, String *str)
- Public Member Functions inherited from set_var_base
virtual int light_check (THD *thd)
virtual bool is_var_optimizer_trace () const

Additional Inherited Members

- Static Public Member Functions inherited from Sql_alloc
static void * operator new (size_t size) throw ()
static void * operator new[] (size_t size) throw ()
static void * operator new[] (size_t size, MEM_ROOT *mem_root) throw ()
static void * operator new (size_t size, MEM_ROOT *mem_root) throw ()
static void operator delete (void *ptr, size_t size)
static void operator delete (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, size_t size)

Detailed Description

Definition at line 286 of file set_var.h.

Member Function Documentation

int set_var_password::check ( THD *  thd)
virtual

Check the validity of the SET PASSWORD request

User name and no host is used for SET PASSWORD = No user name and no host used for SET PASSWORD for CURRENT_USER() =

Parameters
thdThe current thread
Returns
status code
Return values
0failure
1success

Implements set_var_base.

Definition at line 765 of file set_var.cc.


The documentation for this class was generated from the following files: