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 7701bbbb63e..79b2ca68f4f 100644
--- a/sql/item_uniq.cc
+++ b/sql/item_uniq.cc
@@ -21,3 +21,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);
+}