summaryrefslogtreecommitdiff
path: root/libodbcpp/column.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-03 12:45:52 +0000
committerrandomdan <randomdan@localhost>2011-02-03 12:45:52 +0000
commit61e82df26176060dbdab6cfe8770ab93a4eaffc0 (patch)
treec5fc962fd7d974cb2e40c4f19f813e04c3c60a08 /libodbcpp/column.cpp
parentRemove compose functions on column data and add a handle function for type sa... (diff)
downloadlibdbpp-odbc-61e82df26176060dbdab6cfe8770ab93a4eaffc0.tar.bz2
libdbpp-odbc-61e82df26176060dbdab6cfe8770ab93a4eaffc0.tar.xz
libdbpp-odbc-61e82df26176060dbdab6cfe8770ab93a4eaffc0.zip
Add missing conversion in generic visitor
Whole new improved variable system (does drop VariableParse, no longer required) Add option to count, but not include, blank lines in proc and file rows File file rows to open files, not execute them Fix to ODBC API with strings that don't use the whole buffer XML changes to site to use new variable system Changes to GB importer to use FS rows and new SQL merge now that it's a) tested and b) variable parse has gone
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