• holyfoot/hf@mysql.com/hfmain.(none)'s avatar
    Bug #27084 partitioning by list seems failing when using case · 576f2f84
    holyfoot/hf@mysql.com/hfmain.(none) authored
    creation of the partitioned table could fail as we created Item-s for
    it's list function in thd->mem_root, and then do Item->fix_fields
    in the context of other table->mem_root (so that memory alloced
    there was alloced in this table->mem_root). As we freed the
    table->mem_root before we do thd->free_items, our Item-s had
    pointers to the freed memory, that caused the crash
    576f2f84
item_cmpfunc.h 48.8 KB