1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

cleanup: remove duplicated code

This commit is contained in:
Sergei Golubchik
2018-02-07 19:28:34 +01:00
parent 7fa88d4435
commit 031c85ca56

View File

@ -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;
}