MySQL 8.4.0
Source Code Documentation
mi_log.cc File Reference
#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
 

Macro Definition Documentation

◆ GETPID

#define GETPID ( )    (log_type == 1 ? (long)myisam_pid : (long)my_thread_self())

Function Documentation

◆ _myisam_log()

void _myisam_log ( enum myisam_log_commands  command,
MI_INFO info,
const uchar buffert,
uint  length 
)

◆ _myisam_log_command()

void _myisam_log_command ( enum myisam_log_commands  command,
MI_INFO info,
const uchar buffert,
uint  length,
int  result 
)

◆ _myisam_log_record()

void _myisam_log_record ( enum myisam_log_commands  command,
MI_INFO info,
const uchar record,
my_off_t  filepos,
int  result 
)

◆ mi_log()

int mi_log ( int  activate_log)

Variable Documentation

◆ log_type

int log_type = 0
static

◆ myisam_pid

ulong myisam_pid = 0