From 01c1afa911f43669632db56ffff952310b76654a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 05:06:45 +0000 Subject: Tidy up --- libmysqlpp/my-column.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libmysqlpp') diff --git a/libmysqlpp/my-column.h b/libmysqlpp/my-column.h index 088b768..0948146 100644 --- a/libmysqlpp/my-column.h +++ b/libmysqlpp/my-column.h @@ -17,23 +17,31 @@ namespace MySQL { long unsigned int length; friend class SelectCommand; }; + class StringColumn : public ColumnBase { public: StringColumn(const char * name, unsigned int field, MYSQL_BIND * b, unsigned int len); ~StringColumn(); + void apply(DB::HandleField &) const override; + char * value; long unsigned int length; }; + class NullColumn : public ColumnBase { public: NullColumn(const char * name, unsigned int field, MYSQL_BIND * b); + void apply(DB::HandleField &) const override; }; + template class Column : public ColumnBase { public: Column(const char * name, unsigned int field, MYSQL_BIND * b); + void apply(DB::HandleField & h) const override; + T value; }; } -- cgit v1.2.3