diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 01:59:25 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 06:00:07 +0000 |
commit | 8fd7084e1cf57cd474711c64fa48e8c5f0db8a24 (patch) | |
tree | e1cb52ac2dd19f1ddd22790cf8d6151f4351a6f8 | |
parent | ODBC files prefixed with odbc- (diff) | |
download | libdbpp-odbc-8fd7084e1cf57cd474711c64fa48e8c5f0db8a24.tar.bz2 libdbpp-odbc-8fd7084e1cf57cd474711c64fa48e8c5f0db8a24.tar.xz libdbpp-odbc-8fd7084e1cf57cd474711c64fa48e8c5f0db8a24.zip |
Remove rebind
-rw-r--r-- | libodbcpp/odbc-column.cpp | 8 | ||||
-rw-r--r-- | libodbcpp/odbc-column.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/libodbcpp/odbc-column.cpp b/libodbcpp/odbc-column.cpp index 20c68f0..ef734b9 100644 --- a/libodbcpp/odbc-column.cpp +++ b/libodbcpp/odbc-column.cpp @@ -45,14 +45,6 @@ ODBC::Column::isNull() const } void -ODBC::Column::rebind(DB::Command * cmd, unsigned int idx) const -{ - meAsAParam()->paramCmd = dynamic_cast<ODBC::Command *>(cmd); - meAsAParam()->paramIdx = idx; - meAsAParam()->bind(); -} - -void ODBC::Column::bind() { RETCODE rc = SQLBindCol(selectCmd->hStmt, colNo + 1, ctype(), rwDataAddress(), size(), &bindLen); diff --git a/libodbcpp/odbc-column.h b/libodbcpp/odbc-column.h index d80ec63..678a042 100644 --- a/libodbcpp/odbc-column.h +++ b/libodbcpp/odbc-column.h @@ -16,7 +16,6 @@ namespace ODBC { virtual ~Column() = 0; void bind(); virtual void * rwDataAddress() = 0; - void rebind(DB::Command *, unsigned int idx) const; virtual bool resize(); virtual operator int () const { throw std::bad_cast(); } |