summaryrefslogtreecommitdiff
path: root/libodbcpp/bind.h
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/bind.h')
-rw-r--r--libodbcpp/bind.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libodbcpp/bind.h b/libodbcpp/bind.h
index 4465466..7dfbf34 100644
--- a/libodbcpp/bind.h
+++ b/libodbcpp/bind.h
@@ -9,14 +9,11 @@ namespace ODBC {
public:
BindBase();
virtual ~BindBase() {}
- SQLINTEGER length() const;
- SQLUINTEGER size() const;
- bool isNull() const;
- private:
- SQLUINTEGER bindSize; // Allocated memory
+ protected:
SQLINTEGER bindLen; // Used memory
friend class Param;
friend class Column;
+ friend class Command;
};
template <class t>
class Bind {