![]() |
MySQL 9.4.0
Source Code Documentation
|
TempTable public handler API implementation. More...
#include "storage/temptable/include/temptable/handler.h"#include <string.h>#include "my_base.h"#include "my_dbug.h"#include "mysql/components/services/log_builtins.h"#include "mysql/plugin.h"#include "sql/mysqld.h"#include "sql/sql_class.h"#include "sql/sql_thd_internal_api.h"#include "sql/system_variables.h"#include "storage/temptable/include/temptable/row.h"#include "storage/temptable/include/temptable/sharded_kv_store.h"#include "storage/temptable/include/temptable/shared_block_pool.h"Namespaces | |
| namespace | temptable |
Macros | |
| #define | DBUG_RET(result) return static_cast<int>(result) |
Functions | |
| static void | temptable::kv_store_shards_debug_dump () |
| Small helper function which debug-prints the miscellaneous statistics which key-value store has collected. More... | |
| static void | temptable::log_event (const std::string &msg, loglevel lvl) |
| Helper function that calls the logging API to log errors. More... | |
| static void | temptable::erase_owned_temptables (THD *thd) |
| Function that erases leaked temptables by accessing the appropriate shard for the THD involved and iterating through the shard to find all temptables owned by this THD. More... | |
| static void | temptable::shared_block_pool_release (THD *thd) |
| Small helper function which releases the slot (and memory occupied by the Block) in shared-block pool. More... | |
| void | temptable::close_connection (THD *thd) |
| Helper function that performs the temptable related cleanup. More... | |
Variables | |
| static Sharded_key_value_store< KV_STORE_SHARDS_COUNT > | temptable::kv_store_shard |
| Key-value store containing all tables for all existing connections. More... | |
| static Lock_free_shared_block_pool< SHARED_BLOCK_POOL_SIZE > | temptable::shared_block_pool |
TempTable public handler API implementation.