• Debarun Banerjee's avatar
    BUG#16613004 PARTITIONING DDL, CRASH IN FIELD_VARSTRING::CMP_MAX · 359f102a
    Debarun Banerjee authored
    Problem :
    ---------
    The specific issue reported in this bug is with range/list column
    value that is allocated and initialized by evaluating partition
    expression(item tree) during execution. After evaluation the range
    list value is marked fixed [part_column_list_val]. During next
    execution, we don't re-evaluate the expression and use the old value
    since it is marked fixed.
    
    Solution :
    ----------
    One way to solve the issue is to mark all column values as not fixed
    during clone so that the expression is always re-evaluated once we
    attempt partition_info::fix_column_value_functions() after cloning
    the part_info object during execution of DDL on partitioned table.
    Reviewed-by: default avatarJimmy Yang <Jimmy.Yang@oracle.com>
    Reviewed-by: default avatarMattias Jonsson <mattias.jonsson@oracle.com>
    
    RB: 9424
    359f102a
sql_partition.cc 276 KB