diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-01-26 22:33:18 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-01-26 22:33:18 +0100 |
commit | 0791692bdc311f39181b9df236981a2cb439638e (patch) | |
tree | 257434af8644ac23574ef59534e5e2f596b146be /sql/field.h | |
parent | 298008dc4fbf4c5cc98d86115218bf89611ff7ea (diff) | |
download | mariadb-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.h | 1 |
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); |