Commit a65aa6bc authored by unknown's avatar unknown

log.cc:

  Fix crash in previous bug fix log.cc reported by Rob Lyon if --skip-innodb is specified


sql/log.cc:
  Fix crash in previous bug fix log.cc reported by Rob Lyon if --skip-innodb is specified
parent a31ff434
......@@ -1132,7 +1132,8 @@ bool MYSQL_LOG::write(Log_event* event_info)
was a MyISAM event!
*/
if (file == &log_file && !my_b_tell(&thd->transaction.trans_log))
if (file == &log_file && opt_using_transactions
&& !my_b_tell(&thd->transaction.trans_log))
{
/*
LOAD DATA INFILE in AUTOCOMMIT=1 mode writes to the binlog
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment