summaryrefslogtreecommitdiff
path: root/sql/item_uniq.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_uniq.cc')
-rw-r--r--sql/item_uniq.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/item_uniq.cc b/sql/item_uniq.cc
index 0c757c0e3a3..8734e671817 100644
--- a/sql/item_uniq.cc
+++ b/sql/item_uniq.cc
@@ -20,3 +20,9 @@
#endif
#include "mysql_priv.h"
+
+Field *Item_sum_unique_users::create_tmp_field(bool group, TABLE *table,
+ uint convert_blob_length)
+{
+ return new Field_long(9,maybe_null,name,table,1);
+}