• Alexander Barkov's avatar
    MDEV-16325 CREATE..SELECT..UNION creates a wrong field type for old varchar · 3ceb4a54
    Alexander Barkov authored
    - Adding Type_handler::traditional_merge_field_type()
    - Removing real_type_to_type(), field_merge_type()
    - Making Type_handler_var_string to merge as VARCHAR
    - Additionally, fixing Field_string::print() to add the "/*old*/"
      comment into the data type for the old VARCHAR.
      This is similar to what MDEV-8267 earlier did for old DECIMAL.
    - Adding tests
    3ceb4a54
varbinary.result 4.79 KB