MySQL 8.0.39
Source Code Documentation
resource_group_mgr.cc File Reference
#include "resource_group_mgr.h"
#include "my_config.h"
#include <string.h>
#include <sys/types.h>
#include <bitset>
#include <new>
#include <unordered_map>
#include <utility>
#include "m_ctype.h"
#include "map_helpers.h"
#include "my_compiler.h"
#include "my_psi_config.h"
#include "my_sys.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/psi/mysql_rwlock.h"
#include "mysql/service_plugin_registry.h"
#include "mysql/thread_type.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "pfs_thread_provider.h"
#include "sql/auth/auth_acls.h"
#include "sql/auth/sql_security_ctx.h"
#include "sql/current_thd.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/dd/dd_resource_group.h"
#include "sql/dd/string_type.h"
#include "sql/dd/types/resource_group.h"
#include "sql/handler.h"
#include "sql/log.h"
#include "sql/mysqld.h"
#include "sql/resourcegroups/platform/thread_attrs_api.h"
#include "sql/resourcegroups/resource_group.h"
#include "sql/resourcegroups/thread_resource_control.h"
#include "sql/sql_class.h"
#include "sql/system_variables.h"
#include "sql/thd_raii.h"
#include "sql_string.h"

Namespaces

namespace  resourcegroups
 

Functions

void resourcegroups::thread_create_callback (const PSI_thread_attrs *thread_attrs)
 
void resourcegroups::session_disconnect_callback (const PSI_thread_attrs *)
 
static bool resourcegroups::persist_resource_group (THD *thd, const resourcegroups::Resource_group &resource_group, bool update)
 Persist an in-memory resource group to Data Dictionary. More...
 
static bool resourcegroups::deserialize_resource_groups (THD *thd)
 

Variables

const char * resourcegroups::SYS_DEFAULT_RESOURCE_GROUP_NAME = "SYS_default"
 
const char * resourcegroups::USR_DEFAULT_RESOURCE_GROUP_NAME = "USR_default"