MySQL 8.0.40
Source Code Documentation
|
#include <assert.h>
#include <stddef.h>
#include "mysql/components/services/bits/mysql_mutex_bits.h"
#include "mysql/psi/mysql_mutex.h"
#include "sql/opt_costconstants.h"
Go to the source code of this file.
Classes | |
class | Cost_constant_cache |
This class implements a cache for "cost constant sets". More... | |
Functions | |
void | init_optimizer_cost_module (bool enable_plugins) |
Initializes the optimizer cost module. More... | |
void | delete_optimizer_cost_module () |
Deletes the optimizer cost module. More... | |
void | reload_optimizer_cost_constants () |
Reloads the optimizer cost constants from the cost constant tables. More... | |
void delete_optimizer_cost_module | ( | ) |
Deletes the optimizer cost module.
This should be called when the server stops to release allocated resources.
void init_optimizer_cost_module | ( | bool | enable_plugins | ) |
Initializes the optimizer cost module.
This should be done during startup from mysqld.cc.
void reload_optimizer_cost_constants | ( | ) |
Reloads the optimizer cost constants from the cost constant tables.