![]() |
MySQL 9.4.0
Source Code Documentation
|
#include <fcntl.h>#include <sys/types.h>#include "my_byteorder.h"#include "my_dbug.h"#include "my_inttypes.h"#include "my_io.h"#include "storage/myisam/myisam_sys.h"#include "storage/myisam/myisamdef.h"Macros | |
| #define | GETPID() (log_type == 1 ? (long)myisam_pid : (long)my_thread_self()) |
Functions | |
| int | mi_log (int activate_log) |
| void | _myisam_log (enum myisam_log_commands command, MI_INFO *info, const uchar *buffert, uint length) |
| void | _myisam_log_command (enum myisam_log_commands command, MI_INFO *info, const uchar *buffert, uint length, int result) |
| void | _myisam_log_record (enum myisam_log_commands command, MI_INFO *info, const uchar *record, my_off_t filepos, int result) |
Variables | |
| static int | log_type = 0 |
| ulong | myisam_pid = 0 |
| #define GETPID | ( | ) | (log_type == 1 ? (long)myisam_pid : (long)my_thread_self()) |
| void _myisam_log | ( | enum myisam_log_commands | command, |
| MI_INFO * | info, | ||
| const uchar * | buffert, | ||
| uint | length | ||
| ) |
| void _myisam_log_command | ( | enum myisam_log_commands | command, |
| MI_INFO * | info, | ||
| const uchar * | buffert, | ||
| uint | length, | ||
| int | result | ||
| ) |
| void _myisam_log_record | ( | enum myisam_log_commands | command, |
| MI_INFO * | info, | ||
| const uchar * | record, | ||
| my_off_t | filepos, | ||
| int | result | ||
| ) |
| int mi_log | ( | int | activate_log | ) |
|
static |
| ulong myisam_pid = 0 |