Commit 27c25d38 authored by unknown's avatar unknown

Fix for bug #16511: Decimal data types broken with prepared statements.


sql/sql_prepare.cc:
  Fix for bug #16511: Decimal data types broken with prepared statements.
  - should add the real length.
parent e4317041
......@@ -405,7 +405,7 @@ static void set_param_decimal(Item_param *param, uchar **pos, ulong len)
{
ulong length= get_param_length(pos, len);
param->set_decimal((char*)*pos, length);
*pos+= len;
*pos+= length;
}
#ifndef EMBEDDED_LIBRARY
......
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