MySQL 8.0.40
Source Code Documentation
dict0priv.ic File Reference

Data dictionary system private include file. More...

#include "dict0dict.h"
#include "dict0load.h"
#include "dict0priv.h"

Functions

dict_table_tdict_table_get_low (const char *table_name, const std::string *prev_table)
 Gets a table; loads it to the dictionary cache if necessary. More...
 
static dict_table_tdict_table_check_if_in_cache_low (const char *table_name)
 Checks if a table is in the dictionary cache. More...
 

Detailed Description

Data dictionary system private include file.

Created Wed 13 Oct 2010 16:10:14 EST Sunny Bains

Function Documentation

◆ dict_table_check_if_in_cache_low()

static dict_table_t * dict_table_check_if_in_cache_low ( const char *  table_name)
inlinestatic

Checks if a table is in the dictionary cache.

Returns
table, NULL if not found
Parameters
table_namein: table name

◆ dict_table_get_low()

dict_table_t * dict_table_get_low ( const char *  table_name,
const std::string *  prev_table = nullptr 
)
inline

Gets a table; loads it to the dictionary cache if necessary.

A low-level function. Note: Not to be called from outside dict0*c functions.

Parameters
[in]table_namethe table name
[in]prev_tableprevious table name. The current table load is happening because of the load of the previous table name. This parameter is used to check for cyclic calls.
Returns
table, NULL if not found in: table name