Public Member Functions |
void | reopen_file () |
bool | write (time_t event_time, const char *user_host, uint user_host_len, my_thread_id thread_id, const char *command_type, uint command_type_len, const char *sql_text, uint sql_text_len) |
bool | write (THD *thd, time_t current_time, time_t query_start_arg, const char *user_host, uint user_host_len, ulonglong query_utime, ulonglong lock_utime, bool is_command, const char *sql_text, uint sql_text_len) |
bool | open_slow_log (const char *log_name) |
bool | open_query_log (const char *log_name) |
void | init_pthread_objects () |
void | cleanup () |
bool | open (const char *log_name, enum_log_type log_type, const char *new_name, enum cache_type io_cache_type_arg) |
bool | init_and_set_log_file_name (const char *log_name, const char *new_name, enum_log_type log_type_arg, enum cache_type io_cache_type_arg) |
void | init (enum_log_type log_type_arg, enum cache_type io_cache_type_arg) |
void | close (uint exiting) |
bool | is_open () |
const char * | generate_name (const char *log_name, const char *suffix, bool strip_ext, char *buff) |
int | generate_new_name (char *new_name, const char *log_name) |
Additional Inherited Members |
mysql_mutex_t | LOCK_log |
char * | name |
char | log_file_name [FN_REFLEN] |
char | time_buff [20] |
char | db [NAME_LEN+1] |
bool | write_error |
bool | inited |
IO_CACHE | log_file |
enum_log_type | log_type |
volatile enum_log_state | log_state |
enum cache_type | io_cache_type |
Detailed Description
Definition at line 337 of file log.h.
The documentation for this class was generated from the following files: