mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/home/my/mysql-5.1
This commit is contained in:
@ -2958,15 +2958,15 @@ static my_bool binlog_func_list(THD *thd, st_plugin_int *plugin, void *arg)
|
||||
|
||||
static my_bool binlog_func_foreach(THD *thd, binlog_func_st *bfn)
|
||||
{
|
||||
handlerton *hton;
|
||||
hton_list_st hton_list;
|
||||
uint i, sz;
|
||||
|
||||
hton_list.sz= 0;
|
||||
plugin_foreach(thd, binlog_func_list,
|
||||
MYSQL_STORAGE_ENGINE_PLUGIN, &hton_list);
|
||||
|
||||
uint i= 0, sz= hton_list.sz;
|
||||
while(i < sz)
|
||||
hton_list.hton[i++]->binlog_func(hton, thd, bfn->fn, bfn->arg);
|
||||
for (i= 0, sz= hton_list.sz; i < sz ; i++)
|
||||
hton_list.hton[i]->binlog_func(hton_list.hton[i], thd, bfn->fn, bfn->arg);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user