diff options
author | randomdan <randomdan@localhost> | 2010-09-13 19:57:25 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-09-13 19:57:25 +0000 |
commit | 95bc5ac789c2f29220f76c94fc93d6379dcd00c6 (patch) | |
tree | 2af19c25a48dfb13b2db681544ad6fa82407c567 /libodbcpp/bind.h | |
parent | Use the right header for BUFSIZ (diff) | |
download | libdbpp-odbc-95bc5ac789c2f29220f76c94fc93d6379dcd00c6.tar.bz2 libdbpp-odbc-95bc5ac789c2f29220f76c94fc93d6379dcd00c6.tar.xz libdbpp-odbc-95bc5ac789c2f29220f76c94fc93d6379dcd00c6.zip |
Remove duplication in ODBC::Connection constructors
Remove pointless specialisation on _Column for strings
Set cursor type to scrollable (required to refetch a row)
Resize binds if fetched data is truncated
Support scrolling fetch (default is old 'next record' behaviour)
Diffstat (limited to 'libodbcpp/bind.h')
-rw-r--r-- | libodbcpp/bind.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libodbcpp/bind.h b/libodbcpp/bind.h index 5baa53a..fd69900 100644 --- a/libodbcpp/bind.h +++ b/libodbcpp/bind.h @@ -11,7 +11,7 @@ namespace ODBC { BindBase(); virtual ~BindBase() {} protected: - SQLINTEGER bindLen; // Used memory + SQLLEN bindLen; // Used memory friend class Param; friend class Column; friend class Command; @@ -23,12 +23,6 @@ namespace ODBC { mutable t value; }; typedef std::vector<char> SQLCHARVEC; - template <> - class Bind<SQLCHARVEC> { - public: - virtual ~Bind() {} - mutable SQLCHARVEC value; - }; } #endif |