Commit a08c0a10 authored by ramil@mysql.com's avatar ramil@mysql.com

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

parent 865d8f8e
...@@ -405,7 +405,7 @@ static void set_param_decimal(Item_param *param, uchar **pos, ulong len) ...@@ -405,7 +405,7 @@ static void set_param_decimal(Item_param *param, uchar **pos, ulong len)
{ {
ulong length= get_param_length(pos, len); ulong length= get_param_length(pos, len);
param->set_decimal((char*)*pos, length); param->set_decimal((char*)*pos, length);
*pos+= len; *pos+= length;
} }
#ifndef EMBEDDED_LIBRARY #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