From 95bc5ac789c2f29220f76c94fc93d6379dcd00c6 Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 13 Sep 2010 19:57:25 +0000 Subject: 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) --- libodbcpp/bind.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libodbcpp/bind.h') 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 SQLCHARVEC; - template <> - class Bind { - public: - virtual ~Bind() {} - mutable SQLCHARVEC value; - }; } #endif -- cgit v1.2.3