Commit 1c387c8f authored by jimw@mysql.com's avatar jimw@mysql.com

Restore a bit of code accidently deleted during merge

parent 8b0daa84
......@@ -2329,6 +2329,8 @@ longlong Item_func_field::val_int()
if (cmp_type == STRING_RESULT)
{
String *field;
if (!(field= args[0]->val_str(&value)))
return 0;
for (uint i=1 ; i < arg_count ; i++)
{
String *tmp_value=args[i]->val_str(&tmp);
......
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