My Project
Public Member Functions
ACL_internal_table_access Class Reference

#include <sql_acl.h>

List of all members.

Public Member Functions

virtual ACL_internal_access_result check (ulong want_access, ulong *save_priv) const =0

Detailed Description

Per internal table ACL access rules. This class is an interface. Per table(s) specific access rule should be implemented in a subclass.

See also:
ACL_internal_schema_access

Member Function Documentation

virtual ACL_internal_access_result ACL_internal_table_access::check ( ulong  want_access,
ulong *  save_priv 
) const [pure virtual]

Check access to an internal table. When a privilege is granted, this method add the requested privilege to save_priv.

Parameters:
want_accessthe privileges requested
[in,out]save_privthe privileges granted
Returns:
Return values:
ACL_INTERNAL_ACCESS_GRANTEDAll the requested privileges are granted, and saved in save_priv.
ACL_INTERNAL_ACCESS_DENIEDAt least one of the requested privileges was denied.
ACL_INTERNAL_ACCESS_CHECK_GRANTNo requested privilege was denied, and grant should be checked for at least one privilege. Requested privileges that are granted, if any, are saved in save_priv.

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