summaryrefslogtreecommitdiff
path: root/libmysqlpp
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp')
-rw-r--r--libmysqlpp/my-column.cpp2
-rw-r--r--libmysqlpp/my-column.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/libmysqlpp/my-column.cpp b/libmysqlpp/my-column.cpp
index 4d2c762..c205439 100644
--- a/libmysqlpp/my-column.cpp
+++ b/libmysqlpp/my-column.cpp
@@ -13,7 +13,7 @@ MySQL::ColumnBase::isNull() const
}
MySQL::StringColumn::StringColumn(const char * name, unsigned int field, MYSQL_BIND * b, unsigned int len) :
- ColumnBase(name, field), value(len), length(0)
+ ColumnBase(name, field), value(len)
{
b->is_null = &is_null;
b->buffer_type = MYSQL_TYPE_STRING;
diff --git a/libmysqlpp/my-column.h b/libmysqlpp/my-column.h
index 51c4503..2726830 100644
--- a/libmysqlpp/my-column.h
+++ b/libmysqlpp/my-column.h
@@ -25,7 +25,6 @@ namespace MySQL {
void apply(DB::HandleField &) const override;
std::vector<char> value;
- long unsigned int length;
};
class NullColumn : public ColumnBase {