item_func.cc:

Post merge additional fix for DECIMAL type:
  Bugs: #9425: A user variable doesn't always have implicit coercibility


sql/item_func.cc:
  Post merge additional fix for DECIMAL type:
  Bugs: #9425: A user variable doesn't always have implicit coercibility
This commit is contained in:
unknown 2005-03-28 14:15:43 +05:00
parent 1747bead1d
commit 1bf4aa09c2

View File

@ -3594,11 +3594,11 @@ Item_func_set_user_var::update()
{
if (!save_result.vdec) // Null value
res= update_hash((void*) 0, 0, DECIMAL_RESULT, &my_charset_bin,
DERIVATION_NONE);
DERIVATION_IMPLICIT);
else
res= update_hash((void*) save_result.vdec,
sizeof(my_decimal), DECIMAL_RESULT,
&my_charset_bin, DERIVATION_NONE);
&my_charset_bin, DERIVATION_IMPLICIT);
break;
}
case ROW_RESULT: