diff options
author | randomdan <randomdan@localhost> | 2010-08-12 23:04:37 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-08-12 23:04:37 +0000 |
commit | 1cf9af23ba071b152697ef81e64cc35988b1b8b2 (patch) | |
tree | 0849a5fdd0978c69afec854a3deca9f549d84cad /libodbcpp/column.cpp | |
parent | Tidy up hierarchy (diff) | |
download | libdbpp-odbc-1cf9af23ba071b152697ef81e64cc35988b1b8b2.tar.bz2 libdbpp-odbc-1cf9af23ba071b152697ef81e64cc35988b1b8b2.tar.xz libdbpp-odbc-1cf9af23ba071b152697ef81e64cc35988b1b8b2.zip |
Fix early assign of insCmd in sqlmerge
Fix bad use of length in binding string
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 6f45617..8237535 100644 --- a/libodbcpp/column.cpp +++ b/libodbcpp/column.cpp @@ -77,7 +77,7 @@ namespace ODBC { REBIND(SQL_TIMESTAMP_STRUCT, bindParamT) template<> void _Column<unsigned char *>::rebind(Command * cmd, unsigned int col) const \ { - cmd->bindParamS(col, (char *)value); + cmd->bindParamS(col, (const char *)value); } template <> |