Commit 62db3380 authored by Nisha Gopalakrishnan's avatar Nisha Gopalakrishnan

Merge from 5.1 to 5.5

parents 9a1d651b e85c90b9
...@@ -3370,7 +3370,9 @@ bool Item_param::convert_str_value(THD *thd) ...@@ -3370,7 +3370,9 @@ bool Item_param::convert_str_value(THD *thd)
/* Here str_value is guaranteed to be in final_character_set_of_str_value */ /* Here str_value is guaranteed to be in final_character_set_of_str_value */
max_length= str_value.numchars() * str_value.charset()->mbmaxlen; max_length= str_value.numchars() * str_value.charset()->mbmaxlen;
decimals= 0;
/* For the strings converted to numeric form within some functions */
decimals= NOT_FIXED_DEC;
/* /*
str_value_ptr is returned from val_str(). It must be not alloced str_value_ptr is returned from val_str(). It must be not alloced
to prevent it's modification by val_str() invoker. to prevent it's modification by val_str() invoker.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment