summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-07-11 19:29:23 -0600
committerunknown <sasha@mysql.sashanet.com>2001-07-11 19:29:23 -0600
commit1f41db29053228298bb80ffacbda2baa255820a0 (patch)
tree55c353c4e3afb198a61de2adba223531191957c6 /sql/sql_class.h
parent2560b327e2127752d5fa54ce325086eed7bbd39d (diff)
downloadmariadb-git-1f41db29053228298bb80ffacbda2baa255820a0.tar.gz
fixed race condition in automatic binlog rotation
remove extension from binary log if the user specifies one to avoid non-rotatable logs fixed possible use of unitialized IO_CACHE in debug mode sql/log.cc: fixed race condition in automatic binlog rotation sql/mysqld.cc: remove extension from binary log if the user specifies one to avoid non-rotatable logs sql/slave.cc: fixed race condition with slave thread during server shutdown sql/sql_class.h: new_file() needed an argument to know if it was called withing the log mutex or not sql/sql_repl.cc: fixed possible use of unitialized IO_CACHE in debug mode
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 438898ca294..a092de2602d 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -74,7 +74,7 @@ public:
void init(enum_log_type log_type_arg);
void open(const char *log_name,enum_log_type log_type,
const char *new_name=0);
- void new_file(void);
+ void new_file(bool inside_mutex = 0);
bool open_index(int options);
void close_index();
bool write(THD *thd, enum enum_server_command command,const char *format,...);