1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

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.
This commit is contained in:
unknown
2006-01-26 13:15:47 +04:00
parent e43170419c
commit 27c25d38ef

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);
param->set_decimal((char*)*pos, length);
*pos+= len;
*pos+= length;
}
#ifndef EMBEDDED_LIBRARY