summaryrefslogtreecommitdiff
path: root/sql/item_uniq.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_uniq.h')
-rw-r--r--sql/item_uniq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_uniq.h b/sql/item_uniq.h
index 9b370b70181..2101fc4e45a 100644
--- a/sql/item_uniq.h
+++ b/sql/item_uniq.h
@@ -29,6 +29,7 @@ public:
:Item_real_func(list) {}
double val() { return 0.0; }
void fix_length_and_dec() { decimals=0; max_length=6; }
+ void print(String *str) { str->append("0.0"); }
};
@@ -54,4 +55,5 @@ public:
{
return new Item_sum_unique_users(thd, *this);
}
+ void print(String *str) { str->append("0.0"); }
};