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 /libodbcpp/odbc-column.cpp | |
parent | ODBC files prefixed with odbc- (diff) | |
download | libdbpp-odbc-8fd7084e1cf57cd474711c64fa48e8c5f0db8a24.tar.bz2 libdbpp-odbc-8fd7084e1cf57cd474711c64fa48e8c5f0db8a24.tar.xz libdbpp-odbc-8fd7084e1cf57cd474711c64fa48e8c5f0db8a24.zip |
Remove rebind
Diffstat (limited to 'libodbcpp/odbc-column.cpp')
-rw-r--r-- | libodbcpp/odbc-column.cpp | 8 |
1 files changed, 0 insertions, 8 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); |