Skip to content

Commit

Permalink
fix the bad merge
Browse files Browse the repository at this point in the history
this fixes vcol.upgrade failure
  • Loading branch information
vuvova committed Jul 7, 2017
1 parent c65cce3 commit f3ad96a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions sql/item.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1011,13 +1011,6 @@ bool Item_field::check_field_expression_processor(void *arg)
Field *org_field= (Field*) arg;
if (field->flags & NO_DEFAULT_VALUE_FLAG)
return 0;
if (field->flags & AUTO_INCREMENT_FLAG)
{
my_error(ER_EXPRESSION_REFERS_TO_UNINIT_FIELD,
MYF(0),
org_field->field_name.str, field->field_name.str);
return 1;
}
if ((field->default_value && field->default_value->flags) || field->vcol_info)
{
if (field == org_field ||
Expand Down

0 comments on commit f3ad96a

Please sign in to comment.