Skip to content

Commit

Permalink
fix: old default value only
Browse files Browse the repository at this point in the history
  • Loading branch information
beyondykk9 committed Jan 26, 2023
1 parent 6270c21 commit 21b1938
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/query/execute_schema.c
Original file line number Diff line number Diff line change
Expand Up @@ -13874,6 +13874,7 @@ check_change_attribute (PARSER_CONTEXT * parser, DB_CTMPL * ctemplate, PT_NODE *
}

if (is_att_prop_set (attr_chg_prop->p[P_DEFAULT_VALUE], ATT_CHG_PROPERTY_PRESENT_OLD) &&
!is_att_prop_set (attr_chg_prop->p[P_DEFAULT_VALUE], ATT_CHG_PROPERTY_PRESENT_NEW) &&
(is_att_prop_set (attr_chg_prop->p[P_TYPE], ATT_CHG_TYPE_NEED_ROW_CHECK)
|| is_att_prop_set (attr_chg_prop->p[P_TYPE], ATT_CHG_TYPE_PSEUDO_UPGRADE)))
{
Expand Down

0 comments on commit 21b1938

Please sign in to comment.