don't "init" binlog if opt_bin_log is not set

(bug#13791 - mysqld crashes at startup in TC_LOG_MMAP::open)
This commit is contained in:
serg@serg.mylan 2005-10-06 19:05:34 +02:00
parent 5da6a6c8a1
commit b05a6d8fda

View File

@ -78,7 +78,7 @@ handlerton binlog_hton = {
bool binlog_init() bool binlog_init()
{ {
return false; return !opt_bin_log;
} }
static int binlog_close_connection(THD *thd) static int binlog_close_connection(THD *thd)