• Alexander Barkov's avatar
    MDEV-25900 Assertion `octets < 1024' failed in... · a1adabdd
    Alexander Barkov authored
    MDEV-25900 Assertion `octets < 1024' failed in Binlog_type_info_fixed_string::Binlog_type_info_fixed_string OR Assertion `field_length < 1024' failed in Field_string::save_field_metadata
    
    A CHAR column cannot be longer than 1024, because
    Binlog_type_info_fixed_string::Binlog_type_info_fixed_string
    replies on this fact - it cannot store binlog metadata for longer columns.
    
    In case of the filename character set mbmaxlen is equal to 5,
    so only 1024/5=204 characters can fit into the 1024 limit.
    - In strict mode:
      Disallowing creation of a CHAR column with octet length grater than 1024.
    - In non-strict mode:
      Automatically convert CHAR with octet length>1024 into VARCHAR.
    a1adabdd
sql_table.cc 413 KB