diff options
-rw-r--r-- | libmysqlpp/my-column.cpp | 6 | ||||
-rw-r--r-- | libmysqlpp/my-column.h | 2 |
2 files changed, 1 insertions, 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; |