MySQL  8.0.18
Source Code Documentation
privilege_result Class Reference

#include <udf_utils.h>

Public Member Functions

char const * get_user () const
 
char const * get_host () const
 

Static Public Member Functions

static privilege_result success ()
 
static privilege_result error ()
 
static privilege_result no_privilege (char const *user, char const *host)
 

Public Attributes

privilege_status status
 

Private Member Functions

 privilege_result (privilege_status status)
 
 privilege_result (char const *user, char const *host)
 

Private Attributes

char const * user
 
char const * host
 

Constructor & Destructor Documentation

◆ privilege_result() [1/2]

privilege_result::privilege_result ( privilege_status  status)
inlineprivate

◆ privilege_result() [2/2]

privilege_result::privilege_result ( char const *  user,
char const *  host 
)
inlineprivate

Member Function Documentation

◆ error()

static privilege_result privilege_result::error ( )
inlinestatic

◆ get_host()

char const* privilege_result::get_host ( ) const
inline

◆ get_user()

char const* privilege_result::get_user ( ) const
inline

◆ no_privilege()

static privilege_result privilege_result::no_privilege ( char const *  user,
char const *  host 
)
inlinestatic

◆ success()

static privilege_result privilege_result::success ( )
inlinestatic

Member Data Documentation

◆ host

char const* privilege_result::host
private

◆ status

privilege_status privilege_result::status

◆ user

char const* privilege_result::user
private

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