summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-07-27 23:37:29 +0000
committerrandomdan <randomdan@localhost>2010-07-27 23:37:29 +0000
commit1ce45e00dd3398d9f5279e3692ede7616bed72c6 (patch)
tree136e607d5daf01746137a3d8cb57010c51e80055
parentCache that a DSN is unavailable for 60sec (diff)
downloadlibdbpp-odbc-1ce45e00dd3398d9f5279e3692ede7616bed72c6.tar.bz2
libdbpp-odbc-1ce45e00dd3398d9f5279e3692ede7616bed72c6.tar.xz
libdbpp-odbc-1ce45e00dd3398d9f5279e3692ede7616bed72c6.zip
Fix behaviour of composing a string column
-rw-r--r--libodbcpp/column.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/column.cpp b/libodbcpp/column.cpp
index b92689c..31e9642 100644
--- a/libodbcpp/column.cpp
+++ b/libodbcpp/column.cpp
@@ -142,7 +142,7 @@ namespace ODBC {
Glib::ustring
_Column<SQLCHAR*>::compose() const
{
- return Glib::ustring::compose("%1", value);
+ return Glib::ustring((const char *)value);
}
template <>
Glib::ustring