Log variables moved to log_manager.h

The log manager variables lm_enabled_log_files_bitmask, log_ses_count
and tls_log_info that earlier were declared separately in every
c-file are now declared in the log_manager.h header.
This commit is contained in:
Johan Wikman
2015-11-04 14:26:53 +02:00
parent 0accf869de
commit 834a88aeda
55 changed files with 10 additions and 262 deletions

View File

@ -61,10 +61,6 @@
#include <string.h>
#include <stdarg.h>
extern int lm_enabled_logfiles_bitmask;
extern size_t log_ses_count[];
extern __thread log_info_t tls_log_info;
#define QTYPE_LESS_RESTRICTIVE_THAN_WRITE(t) (t<QUERY_TYPE_WRITE ? true : false)
static THD* get_or_create_thd_for_parsing(MYSQL* mysql, char* query_str);