• cmiller@zippy.cornsilk.net's avatar
    Bug#19356: Assert on undefined @uservar in prepared statement execute · 66659796
    cmiller@zippy.cornsilk.net authored
    The executing code had a safety assertion so that it refused to free Items
    that it didn't create.  However, there is a case, undefined user variables,
    which would put Items into the list to be freed.
    
    Instead, do something that is more risky in expectation that the code will 
    be refactored soon, as Kostja wants to do:  Remove the assertions from 
    prepare() and execute().  Put one assertion at a higher level, before 
    stmt->set_params_from_vars(), which may then create new to-be-freed Items .
    66659796
ps_11bugs.result 5.18 KB