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 | 7a47d9dec83975b0abb1b35ff761613d42f0cfa2 (patch) | |
tree | 4a1c02c8b4b7c5459db7b6712e0d1fe17a50221b /libmysqlpp | |
parent | MySQL files prefixed with my- (diff) | |
download | libdbpp-mysql-7a47d9dec83975b0abb1b35ff761613d42f0cfa2.tar.bz2 libdbpp-mysql-7a47d9dec83975b0abb1b35ff761613d42f0cfa2.tar.xz libdbpp-mysql-7a47d9dec83975b0abb1b35ff761613d42f0cfa2.zip |
Remove rebind
Diffstat (limited to 'libmysqlpp')
-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; |