mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Fix errors in my last changeset
This commit is contained in:
parent
7914e24409
commit
5e6ba9dec8
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue