• Varun Gupta's avatar
    Fixed ASAN failure for the test main.func_misc. · bf1c53e9
    Varun Gupta authored
    For Item name_const , we should never do typecast it to Item_field because we
    always expect it to be a constant value.
    So instead of checking the type() its better to introduce a function in the
    Item class get_item_field, which would return the item_field object for the item
    which have type of FIELD_ITEM
    bf1c53e9
item.h 223 KB