summaryrefslogtreecommitdiff
path: root/sql/item_row.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_row.h')
-rw-r--r--sql/item_row.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/item_row.h b/sql/item_row.h
index 25c9ec7915b..153a6f085b3 100644
--- a/sql/item_row.h
+++ b/sql/item_row.h
@@ -58,7 +58,7 @@ public:
enum Type type() const { return ROW_ITEM; };
void illegal_method_call(const char *);
bool is_null() { return null_value; }
- void make_field(Send_field *)
+ void make_field(THD *thd, Send_field *)
{
illegal_method_call((const char*)"make_field");
};
@@ -91,6 +91,11 @@ public:
bool const_item() const { return const_item_cache; };
enum Item_result result_type() const { return ROW_RESULT; }
Item_result cmp_type() const { return ROW_RESULT; }
+ enum_field_types field_type() const
+ {
+ DBUG_ASSERT(0);
+ return MYSQL_TYPE_DOUBLE;
+ }
void update_used_tables()
{
used_tables_and_const_cache_init();