diff options
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 828b4bc..73bb727 100644 --- a/libodbcpp/column.cpp +++ b/libodbcpp/column.cpp @@ -112,7 +112,7 @@ const Glib::ustring & ODBC::CharArrayColumn::compose() const { if (!composeCache) { - composeCache = new Glib::ustring(&data.front(), bindLen); + composeCache = new Glib::ustring(&data.front(), &data[bindLen]); } return *composeCache; } |