MySQL 8.3.0
Source Code Documentation
dd_resource_group.cc File Reference
#include "sql/dd/dd_resource_group.h"
#include <memory>
#include "my_dbug.h"
#include "mysqld_error.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/dd/dd.h"
#include "sql/dd/types/resource_group.h"
#include "sql/resourcegroups/resource_group.h"
#include "sql/sql_class.h"
#include "sql/thd_raii.h"
#include "sql/transaction.h"

Namespaces

namespace  dd
 The version of the current data dictionary table definitions.
 

Functions

bool dd::resource_group_exists (dd::cache::Dictionary_client *dd_client, const String_type &resource_group_name, bool *exists)
 Check if resource group exists in the data dictionary. More...
 
static bool dd::set_resource_group_attributes (dd::Resource_group *resource_group, const resourcegroups::Resource_group &res_grp_ref)
 
bool dd::create_resource_group (THD *thd, const resourcegroups::Resource_group &res_grp_ref)
 Create a DD object and persist it to DD table resourcegroup. More...
 
bool dd::update_resource_group (THD *thd, const String_type &resource_grp_name, const resourcegroups::Resource_group &res_grp_ref)
 Update a resource group and persist it to DD table resourcegroup. More...
 
bool dd::drop_resource_group (THD *thd, const String_type resource_grp_name)
 Drop a resource group from DD table resourcegroup. More...