diff options
-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(); } |