mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Sorry my previous change was a mistake.
This commit is contained in:
parent
54329ac4a0
commit
7bba7a5c06
@ -893,12 +893,12 @@ copy_statement_with_parameters(StatementClass *stmt)
|
||||
break;
|
||||
|
||||
case SQL_C_DOUBLE:
|
||||
sprintf(param_string, "%15g",
|
||||
sprintf(param_string, "%.15g",
|
||||
*((SDOUBLE *) buffer));
|
||||
break;
|
||||
|
||||
case SQL_C_FLOAT:
|
||||
sprintf(param_string, "%6g",
|
||||
sprintf(param_string, "%.6g",
|
||||
*((SFLOAT *) buffer));
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user