summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2005-08-27 02:33:06 +0400
committersergefp@mysql.com <>2005-08-27 02:33:06 +0400
commitad9bfc251c6604b1fac9822020d9f1d2eb300dc4 (patch)
treec1da247a061c35537652a59670be0d73b7861a51 /sql/log.cc
parente4733cc8b06127c754af56f17d86d7ecf78325b7 (diff)
downloadmariadb-git-ad9bfc251c6604b1fac9822020d9f1d2eb300dc4.tar.gz
Slightly amended Monty's SP replication code cleanup patch
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 0f9e8df7dfa..d62fa52a165 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1579,6 +1579,10 @@ bool MYSQL_LOG::write(Log_event *event_info)
if (thd->binlog_evt_union.do_union)
{
+ /*
+ In Stored function; Remember that function call caused an update.
+ We will log the function call to the binary log on function exit
+ */
thd->binlog_evt_union.unioned_events= TRUE;
thd->binlog_evt_union.unioned_events_trans |= event_info->cache_stmt;
DBUG_RETURN(0);