Skip to content

Commit 7bba7a5

Browse files
author
Hiroshi Inoue
committed
Sorry my previous change was a mistake.
1 parent 54329ac commit 7bba7a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/odbc/convert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,12 +893,12 @@ copy_statement_with_parameters(StatementClass *stmt)
893893
break;
894894

895895
case SQL_C_DOUBLE:
896-
sprintf(param_string, "%15g",
896+
sprintf(param_string, "%.15g",
897897
*((SDOUBLE *) buffer));
898898
break;
899899

900900
case SQL_C_FLOAT:
901-
sprintf(param_string, "%6g",
901+
sprintf(param_string, "%.6g",
902902
*((SFLOAT *) buffer));
903903
break;
904904

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy