log.cc:

  Fix crash in previous bug fix log.cc reported by Rob Lyon if --skip-innodb is specified
parent cb68a2c7
...@@ -1132,7 +1132,8 @@ bool MYSQL_LOG::write(Log_event* event_info) ...@@ -1132,7 +1132,8 @@ bool MYSQL_LOG::write(Log_event* event_info)
was a MyISAM event! 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 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