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:
@ -5391,11 +5391,9 @@ static void update_field_dependencies(THD *thd, Field *field, TABLE *table)
|
|||||||
}
|
}
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
if (table->get_fields_in_item_tree)
|
|
||||||
field->flags|= GET_FIXED_FIELDS_FLAG;
|
|
||||||
table->used_fields++;
|
table->used_fields++;
|
||||||
}
|
}
|
||||||
else if (table->get_fields_in_item_tree)
|
if (table->get_fields_in_item_tree)
|
||||||
field->flags|= GET_FIXED_FIELDS_FLAG;
|
field->flags|= GET_FIXED_FIELDS_FLAG;
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user