summaryrefslogtreecommitdiff
path: root/libodbcpp/column.cpp
diff options
context:
space:
mode:
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 8caf9c8..4101b0f 100644
--- a/libodbcpp/column.cpp
+++ b/libodbcpp/column.cpp
@@ -106,7 +106,7 @@ void
ODBC::CharArrayColumn::apply(ODBC::HandleField & h) const
{
if (isNull()) return h.null();
- h.string(data);
+ h.string(data, bindLen);
}
void
ODBC::TimeStampColumn::apply(ODBC::HandleField & h) const