• cmiller@calliope.local.cmiller/calliope.local's avatar
    Bug#25126: Reference to non-existant column in UPDATE...ORDER BY... crashes server · 0733ea74
    "update existingtable set anycolumn=nonexisting order by nonexisting" would crash
    the server.
    
    Though we would find the reference to a field, that doesn't mean we can then use
    it to set some values.  It could be a reference to another field.  If it is NULL, 
    don't try to use it to set values in the Item_field and instead return an error.
    
    Over the previous patch, this signals an error at the location of the error, rather
    than letting the subsequent deref signal it.
    0733ea74
order_by.result 27.6 KB