summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/item_sum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index 9593c8ddbba..d7753303f55 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -351,6 +351,7 @@ class Item_sum_variance : public Item_sum_num
void update_field();
Item *result_item(Field *field)
{ return new Item_variance_field(this); }
+ void no_rows_in_result() {}
const char *func_name() const { return "variance"; }
Item *copy_or_same(THD* thd);
};