diff options
author | randomdan <randomdan@localhost> | 2010-05-19 21:42:06 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-05-19 21:42:06 +0000 |
commit | 41de30358fc1608a1e0f111867664d9f91ebecd3 (patch) | |
tree | 9e21134b1196be74844108afc5838e36b4ef5590 /libodbcpp/column.cpp | |
parent | Ditch crazy timetypepair and just use an ODBC struct (diff) | |
download | libdbpp-odbc-41de30358fc1608a1e0f111867664d9f91ebecd3.tar.bz2 libdbpp-odbc-41de30358fc1608a1e0f111867664d9f91ebecd3.tar.xz libdbpp-odbc-41de30358fc1608a1e0f111867664d9f91ebecd3.zip |
Fix output format for double columns
Diffstat (limited to 'libodbcpp/column.cpp')
-rw-r--r-- | libodbcpp/column.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/column.cpp b/libodbcpp/column.cpp index 85022eb..d4b6446 100644 --- a/libodbcpp/column.cpp +++ b/libodbcpp/column.cpp @@ -77,7 +77,7 @@ namespace ODBC { int _Column<SQLDOUBLE>::writeToBuf(char ** buf) const { - return writeToBuf(buf, "%d"); + return writeToBuf(buf, "%g"); } template <> int |