Commit 970150d1 authored by unknown's avatar unknown
Browse files

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

(bug#13791 - mysqld crashes at startup in TC_LOG_MMAP::open)

parent df764507
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ handlerton binlog_hton = {

bool binlog_init()
{
  return false;
  return !opt_bin_log;
}

static int binlog_close_connection(THD *thd)