Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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)