diff options
author | randomdan <randomdan@localhost> | 2010-06-11 09:03:42 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-06-11 09:03:42 +0000 |
commit | 1df33cc9d9a7804c78788d5717435ede44855ca0 (patch) | |
tree | b78e66de0a9f7d6bb39038d6f628cbc871ffa652 /libodbcpp/bind.h | |
parent | Initial workings of project2 - renders gentoobrowse homepage (diff) | |
download | libdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.tar.bz2 libdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.tar.xz libdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.zip |
Use Glib::ustring in libodbcpp for data and std::string for non-data
Add support for parameters in SqlViews
Uses parameters to implement category browse and search
Diffstat (limited to 'libodbcpp/bind.h')
-rw-r--r-- | libodbcpp/bind.h | 7 |
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 { |