1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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

This commit is contained in:
ramil@mysql.com
2006-01-26 13:15:47 +04:00
parent 865d8f8e89
commit a08c0a1022

View File

@ -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