From 7a47d9dec83975b0abb1b35ff761613d42f0cfa2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 01:59:25 +0000 Subject: Remove rebind --- libmysqlpp/my-column.cpp | 6 ------ libmysqlpp/my-column.h | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/libmysqlpp/my-column.cpp b/libmysqlpp/my-column.cpp index 4e3038e..cc690be 100644 --- a/libmysqlpp/my-column.cpp +++ b/libmysqlpp/my-column.cpp @@ -15,12 +15,6 @@ MySQL::ColumnBase::isNull() const return is_null; } -void -MySQL::ColumnBase::rebind(DB::Command *, unsigned int) const -{ - throw Error("Not supported"); -} - MySQL::StringColumn::StringColumn(const char * name, unsigned int field, MYSQL_BIND * b, unsigned int len) : ColumnBase(name, field), value(new char[len]) diff --git a/libmysqlpp/my-column.h b/libmysqlpp/my-column.h index 38f4f39..657b094 100644 --- a/libmysqlpp/my-column.h +++ b/libmysqlpp/my-column.h @@ -11,7 +11,7 @@ namespace MySQL { ColumnBase(const char * name, unsigned int field); bool isNull() const; - void rebind(DB::Command *, unsigned int) const; + protected: my_bool is_null; long unsigned int length; -- cgit v1.2.3