• knielsen@mysql.com's avatar
    BUG#20769: Dangling pointer in ctype_recoding test case. · 1d56a972
    knielsen@mysql.com authored
    In some functions dealing with strings and character sets, the wrong
    pointers were saved for restoration in THD::rollback_item_tree_changes().
    This could potentially cause random corruption or crashes.
    
    Fixed by passing the original Item ** locations, not local stack copies.
    
    Also remove unnecessary use of default arguments.
    1d56a972
item.h 77.6 KB