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.cpp | |
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.cpp')
-rw-r--r-- | libodbcpp/bind.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libodbcpp/bind.cpp b/libodbcpp/bind.cpp index 0808bbb..2e40975 100644 --- a/libodbcpp/bind.cpp +++ b/libodbcpp/bind.cpp @@ -3,7 +3,6 @@ #include "param.h" ODBC::BindBase::BindBase() : - bindSize(0), bindLen(0) { } @@ -15,22 +14,4 @@ ODBC::Bind<unsigned char *>::~Bind() } } -SQLINTEGER -ODBC::BindBase::length() const -{ - return bindLen; -} - -SQLUINTEGER -ODBC::BindBase::size() const -{ - return bindSize; -} - -bool -ODBC::BindBase::isNull() const -{ - return (bindLen == SQL_NULL_DATA); -} - |