summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-11-23 16:09:39 +0300
committerKonstantin Osipov <kostja@sun.com>2009-11-23 16:09:39 +0300
commit777c3034017e3d90937e055e9928b42a48ad6adf (patch)
tree5cc2ddb21e4fef0b2576a1f92415cbf6282446e4 /sql/log_event.cc
parent7e532b13469001e3cf30390d60e023450118c5d4 (diff)
downloadmariadb-git-777c3034017e3d90937e055e9928b42a48ad6adf.tar.gz
Backport of:
------------------------------------------------------------ revno: 2630.13.2 committer: Davi Arnaut <davi@sun.com> branch nick: WL4284-6.0 timestamp: Thu 2008-07-03 18:26:51 -0300 message: Remove unused USING_TRANSACTIONS macro which unnecessarily cumbers the code. This macro is a historical leftover and has no practical use since its unconditionally defined.
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 3a54717a45f..87af8911fb9 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -3895,7 +3895,6 @@ int Format_description_log_event::do_apply_event(Relay_log_info const *rli)
int ret= 0;
DBUG_ENTER("Format_description_log_event::do_apply_event");
-#ifdef USING_TRANSACTIONS
/*
As a transaction NEVER spans on 2 or more binlogs:
if we have an active transaction at this point, the master died
@@ -3917,7 +3916,7 @@ int Format_description_log_event::do_apply_event(Relay_log_info const *rli)
"its binary log, thus rolled back too.");
const_cast<Relay_log_info*>(rli)->cleanup_context(thd, 1);
}
-#endif
+
/*
If this event comes from ourselves, there is no cleaning task to
perform, we don't call Start_log_event_v3::do_apply_event()