Fix for bug #1500 "Server crash with mysql_prepare"
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.
Showing
Please register or sign in to comment