summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-01-26 22:33:18 +0100
committerSergei Golubchik <sergii@pisem.net>2013-01-26 22:33:18 +0100
commit0791692bdc311f39181b9df236981a2cb439638e (patch)
tree257434af8644ac23574ef59534e5e2f596b146be /sql/field.h
parent298008dc4fbf4c5cc98d86115218bf89611ff7ea (diff)
downloadmariadb-git-0791692bdc311f39181b9df236981a2cb439638e.tar.gz
MDEV-3875 Wrong result (missing row) on a DISTINCT query with the same subquery in the SELECT list and GROUP BY
fix remove_dup_with_hash_index() and remove_dup_with_compare() to take NULLs into account
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index 208f1e381f5..115a9519b7b 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -386,6 +386,7 @@ public:
return bytes;
}
+ void make_sort_key(uchar *buff, uint length);
virtual void make_field(Send_field *);
virtual void sort_string(uchar *buff,uint length)=0;
virtual bool optimize_range(uint idx, uint part);