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 73bb727..5ec1e04 100644 --- a/libodbcpp/column.cpp +++ b/libodbcpp/column.cpp @@ -28,7 +28,7 @@ ODBC::Column::resize(SQLHANDLE hStmt) void ODBC::CharArrayColumn::resize(SQLHANDLE hStmt) { - if (bindLen > SQLLEN(data.size())) { + if (bindLen >= SQLLEN(data.size())) { data.resize(bindLen + 1); Column::bind(); if (paramCmd) { |