diff options
author | randomdan <randomdan@localhost> | 2010-07-27 23:37:29 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-07-27 23:37:29 +0000 |
commit | 1ce45e00dd3398d9f5279e3692ede7616bed72c6 (patch) | |
tree | 136e607d5daf01746137a3d8cb57010c51e80055 /libodbcpp/column.cpp | |
parent | Cache that a DSN is unavailable for 60sec (diff) | |
download | libdbpp-odbc-1ce45e00dd3398d9f5279e3692ede7616bed72c6.tar.bz2 libdbpp-odbc-1ce45e00dd3398d9f5279e3692ede7616bed72c6.tar.xz libdbpp-odbc-1ce45e00dd3398d9f5279e3692ede7616bed72c6.zip |
Fix behaviour of composing a string column
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 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 |