mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/psergey/mysql-5.0-aug28-vg
This commit is contained in:
commit
e4ce706cf9
1 changed files with 1 additions and 1 deletions
|
@ -1055,7 +1055,7 @@ sp_head::execute_function(THD *thd, Item **argp, uint argcount, Item **resp)
|
|||
if (need_binlog_call)
|
||||
mysql_bin_log.stop_union_events(thd);
|
||||
|
||||
if (thd->binlog_evt_union.unioned_events && mysql_bin_log.is_open())
|
||||
if (need_binlog_call && thd->binlog_evt_union.unioned_events)
|
||||
{
|
||||
char buf[256];
|
||||
String bufstr(buf, sizeof(buf), &my_charset_bin);
|
||||
|
|
Loading…
Add table
Reference in a new issue