MySQL 8.0.31
Source Code Documentation
dict0priv.h File Reference

Data dictionary private functions. More...

#include "univ.i"
#include "dict0priv.ic"

Go to the source code of this file.

Functions

dict_table_tdict_table_get_low (const char *table_name, const std::string *prev_table=nullptr)
 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 private functions.

Created Fri 2 Jul 2010 13:30:38 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 in: 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