MySQL 8.4.2
Source Code Documentation
|
#include "ut0test.h"
#include "btr0load.h"
#include "btr0mtib.h"
#include "buf0flu.h"
#include "ddl0impl-builder.h"
#include "dict0dd.h"
#include "dict0dict.h"
#include "fil0fil.h"
#include "scope_guard.h"
Namespaces | |
namespace | ib |
Macros | |
#define | CALL_MEMBER_FN(object, ptrToMember) ((object).*(ptrToMember)) |
#define | DISPATCH_FUNCTION_DEF(func_) |
A macro to define a dispatch function or a command function. More... | |
#define | DISPATCH(x) m_dispatch[#x] = &Tester::x |
Typedefs | |
typedef Tester::Ret_t | ib::Ret_t |
Functions | |
void | ib::scan_page_type (space_id_t space_id, std::map< page_type_t, page_no_t > &result_map) |
ib::DISPATCH_FUNCTION_DEF (Tester::count_page_type) | |
ib::DISPATCH_FUNCTION_DEF (Tester::count_used_and_free) | |
ib::DISPATCH_FUNCTION_DEF (Tester::find_tablespace_physical_page_size) | |
ib::DISPATCH_FUNCTION_DEF (Tester::make_ondisk_root_page_zeroes) | |
ib::DISPATCH_FUNCTION_DEF (Tester::dblwr_force_crash) | |
ib::DISPATCH_FUNCTION_DEF (Tester::make_page_dirty) | |
ib::DISPATCH_FUNCTION_DEF (Tester::print_tree) | |
int | ib::interpreter_run (const char *command) noexcept |
The main function to execute the commands in the tester. More... | |
void | ib_interpreter_update (MYSQL_THD thd, SYS_VAR *var, void *var_ptr, const void *save) |
Update the innodb_interpreter_output system variable to let the user access the output generated by the tester. More... | |
int | ib_interpreter_check (THD *thd, SYS_VAR *var, void *save, struct st_mysql_value *value) |
Check whether given command is valid for the InnoDB interpreter Refer to mysql_var_check_func() for more details. More... | |
Variables | |
thread_local Tester | ib::tl_interpreter |
#define CALL_MEMBER_FN | ( | object, | |
ptrToMember | |||
) | ((object).*(ptrToMember)) |
#define DISPATCH | ( | x | ) | m_dispatch[#x] = &Tester::x |
#define DISPATCH_FUNCTION_DEF | ( | func_ | ) |
A macro to define a dispatch function or a command function.
They all have the same signature.
[in] | func_ | the function that is being declared. |
int ib_interpreter_check | ( | THD * | thd, |
SYS_VAR * | var, | ||
void * | save, | ||
struct st_mysql_value * | value | ||
) |
Check whether given command is valid for the InnoDB interpreter Refer to mysql_var_check_func() for more details.
[in] | thd | thread handle |
[in] | var | pointer to system variable |
[out] | save | immediate result for update function |
[in] | value | incoming string |
Update the innodb_interpreter_output system variable to let the user access the output generated by the tester.
Refer to mysql_var_update_func() for details of the function signature.
[in] | thd | thread handle |
[in] | var | dynamic variable being altered |
[in] | var_ptr | pointer to dynamic variable |
[in] | save | pointer to temporary storage. |