Commit e8e7fdb7 authored by Mats Kindahl's avatar Mats Kindahl

Manual merge of mysql-5.0-bugteam -> mysql-5.1-bugteam

parents de35ca0d a129837f
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -4869,8 +4869,14 @@ int User_var_log_event::do_apply_event(Relay_log_info const *rli)
/*
Item_func_set_user_var can't substitute something else on its place =>
0 can be passed as last argument (reference on item)
Fix_fields() can fail, in which case a call of update_hash() might
crash the server, so if fix fields fails, we just return with an
error.
*/
e.fix_fields(thd, 0);
if (e.fix_fields(thd, 0))
return 1;
/*
A variable can just be considered as a table with
a single record and with a single column. Thus, like
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment