Commit 031c85ca authored by Sergei Golubchik's avatar Sergei Golubchik

cleanup: remove duplicated code

parent 7fa88d44
......@@ -5391,11 +5391,9 @@ static void update_field_dependencies(THD *thd, Field *field, TABLE *table)
}
DBUG_VOID_RETURN;
}
if (table->get_fields_in_item_tree)
field->flags|= GET_FIXED_FIELDS_FLAG;
table->used_fields++;
}
else if (table->get_fields_in_item_tree)
if (table->get_fields_in_item_tree)
field->flags|= GET_FIXED_FIELDS_FLAG;
DBUG_VOID_RETURN;
}
......
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