|
MySQL 5.6.14 Source Code Document
|
#include "univ.i"#include <stdarg.h>#include <string.h>#include "buf0buf.h"#include "buf0dump.h"#include "db0err.h"#include "dict0dict.h"#include "os0file.h"#include "os0sync.h"#include "os0thread.h"#include "srv0srv.h"#include "srv0start.h"#include "sync0rw.h"#include "ut0byte.h"#include "ut0sort.h"
Go to the source code of this file.
Macros | |
| #define | SHUTTING_DOWN() |
| #define | BUF_DUMP_CREATE(space, page) ut_ull_create(space, page) |
| #define | BUF_DUMP_SPACE(a) ((ulint) ((a) >> 32)) |
| #define | BUF_DUMP_PAGE(a) ((ulint) ((a) & 0xFFFFFFFFUL)) |
| #define | SHOULD_QUIT() (SHUTTING_DOWN() && obey_shutdown) |
Typedefs | |
| typedef ib_uint64_t | buf_dump_t |
Enumerations | |
| enum | status_severity { STATUS_INFO, STATUS_NOTICE, STATUS_ERR } |
Functions | |
| UNIV_INTERN void | buf_dump_start () |
| UNIV_INTERN void | buf_load_start () |
Variables | |
| static const char * | fmt |
Implements a buffer pool dump/load.
Created April 08, 2011 Vasil Dimov
Definition in file buf0dump.cc.
| #define SHUTTING_DOWN | ( | ) |
Definition at line 50 of file buf0dump.cc.
| UNIV_INTERN void buf_dump_start | ( | ) |
Wakes up the buffer pool dump/load thread and instructs it to start a dump. This function is called by MySQL code via buffer_pool_dump_now() and it should return immediately because the whole MySQL is frozen during its execution.
Definition at line 78 of file buf0dump.cc.

| UNIV_INTERN void buf_load_start | ( | ) |
Wakes up the buffer pool dump/load thread and instructs it to start a load. This function is called by MySQL code via buffer_pool_load_now() and it should return immediately because the whole MySQL is frozen during its execution.
Definition at line 92 of file buf0dump.cc.

| const char* fmt |
< in: status severity in: format
Definition at line 113 of file buf0dump.cc.