• dlenev@dlenev.mshome's avatar
    Fix for bug #1500 "Server crash with mysql_prepare" · 625371f3
    dlenev@dlenev.mshome authored
    We treat Item_param whose value is not set as non-const.
    This allows us to avoid use of Item_param's value (not yet existing) in 
    those fix_fields and fix_length_and_dec that do calculations if their 
    Items arguments are const. So we can call fix_fields for such items from
    mysql_prepare safely.
    625371f3
item.h 30.4 KB