• Monty's avatar
    Added CHECK_FIELD_EXPRESSION · 5b4c8469
    Monty authored
    This is needed for MDEV 13679 Enabled sequences to be used in DEFAULT
    
    Added new option for count_cuted_fields: CHECK_FIELD_EXPRESSION
    which is used to check if a DEFAULT expression is correct before
    ALTER TABLE starts
    
    Changed also all test:
      if (thd->count_cuted_fields)
      to
      if (thd->count_cuted_fields > CHECK_FIELD_EXPRESSION)
    5b4c8469
field_conv.cc 22.7 KB