From 8fd7084e1cf57cd474711c64fa48e8c5f0db8a24 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 01:59:25 +0000 Subject: Remove rebind --- libodbcpp/odbc-column.cpp | 8 -------- libodbcpp/odbc-column.h | 1 - 2 files changed, 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 @@ -44,14 +44,6 @@ ODBC::Column::isNull() const return (bindLen == SQL_NULL_DATA); } -void -ODBC::Column::rebind(DB::Command * cmd, unsigned int idx) const -{ - meAsAParam()->paramCmd = dynamic_cast(cmd); - meAsAParam()->paramIdx = idx; - meAsAParam()->bind(); -} - void ODBC::Column::bind() { 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(); } -- cgit v1.2.3