Fix errors in my last changeset

This commit is contained in:
monty@mysql.com 2005-02-22 15:08:12 +02:00
parent 7914e24409
commit 5e6ba9dec8

View file

@ -3390,14 +3390,17 @@ static void fetch_string_with_conversion(MYSQL_BIND *param, char *value,
}
case MYSQL_TYPE_FLOAT:
{
char *end_not_used;
float data = (float) my_strntod(&my_charset_latin1, value, length,
NULL, &err);
&end_not_used, &err);
floatstore(buffer, data);
break;
}
case MYSQL_TYPE_DOUBLE:
{
double data= my_strntod(&my_charset_latin1, value, length, NULL, &err);
char *end_not_used;
double data= my_strntod(&my_charset_latin1, value, length, &end_not_used,
&err);
doublestore(buffer, data);
break;
}