• Sergei Golubchik's avatar
    MDEV-3940 Server crash or assertion `item->type() == Item::STRING_ITEM'... · 84f25c25
    Sergei Golubchik authored
    MDEV-3940 Server crash or assertion `item->type() == Item::STRING_ITEM' failure on LOAD DATA through a view with statement binary logging
    
    A "field" could be either an Item_field or
    (if loading into a view) an Item_direct_ref that references Item_field.
    
    Also: when iterating fields, use fields of the TABLE_LIST (table or view),
    not fields of a TABLE (actual underlying table - might have more columns).
    84f25c25
sql_load.cc 60.1 KB