summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorjani@ua141d10.elisa.omakaista.fi <>2005-10-04 18:20:57 +0300
committerjani@ua141d10.elisa.omakaista.fi <>2005-10-04 18:20:57 +0300
commit17e87da29803a46e267abecd3a7f8fe1210adfaa (patch)
tree6a14638a32646753fac39b1c2811ab785c0f0f3e /sql/log.cc
parentfa2bbce5fa237265854e3db1c51632a483b4a9f2 (diff)
downloadmariadb-git-17e87da29803a46e267abecd3a7f8fe1210adfaa.tar.gz
Some fixes including implicit declaration of a function,
using wrong type in assignment etc.
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 6e372938752..8d9185a8850 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1850,7 +1850,9 @@ bool MYSQL_LOG::write(THD *thd, IO_CACHE *cache, Log_event *commit_event)
if (commit_event->write(&log_file))
goto err;
+#ifndef DBUG_OFF
DBUG_skip_commit:
+#endif
if (flush_and_sync())
goto err;
DBUG_EXECUTE_IF("half_binlogged_transaction", abort(););