summaryrefslogtreecommitdiff
path: root/libodbcpp/column.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-05-19 21:42:06 +0000
committerrandomdan <randomdan@localhost>2010-05-19 21:42:06 +0000
commit41de30358fc1608a1e0f111867664d9f91ebecd3 (patch)
tree9e21134b1196be74844108afc5838e36b4ef5590 /libodbcpp/column.cpp
parentDitch crazy timetypepair and just use an ODBC struct (diff)
downloadlibdbpp-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.cpp2
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