diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-04-04 10:14:06 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-04-04 10:14:06 +0300 |
commit | a65aa6bce3115e7ba5b96c82c39430a9ef765a57 (patch) | |
tree | 758a95ce6ad028db6aac2516d0b86335f0e2fb48 /sql | |
parent | a31ff43462782e391e6073fd58984d08c11deced (diff) | |
download | mariadb-git-a65aa6bce3115e7ba5b96c82c39430a9ef765a57.tar.gz |
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
Diffstat (limited to 'sql')
-rw-r--r-- | sql/log.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc index 2cb2e37be08..8a5aba5cd34 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -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 |